mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 13:11:42 +00:00
fix this
This commit is contained in:
parent
7f1e57ba4f
commit
d880cdd0ee
1 changed files with 2 additions and 0 deletions
|
|
@ -217,6 +217,8 @@ class ControllerBindingsGui extends GuiImage {
|
||||||
}
|
}
|
||||||
if (prevSelected == 0 && selectedColumn == 1) {
|
if (prevSelected == 0 && selectedColumn == 1) {
|
||||||
btnListLeft.selected = btnListRight.selected;
|
btnListLeft.selected = btnListRight.selected;
|
||||||
|
if (btnListLeft.selected > btnListLeft.buttons.length - 1)
|
||||||
|
btnListLeft.selected = btnListLeft.buttons.length - 1;
|
||||||
}
|
}
|
||||||
if (prevSelected == 1 && selectedColumn == 0) {
|
if (prevSelected == 1 && selectedColumn == 0) {
|
||||||
btnListRight.selected = btnListLeft.selected;
|
btnListRight.selected = btnListLeft.selected;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue