mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-28 05:31:37 +00:00
fix this
This commit is contained in:
parent
ba60dece77
commit
54c7c6ecb1
1 changed files with 2 additions and 0 deletions
|
|
@ -222,6 +222,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