forked from Clones/Controlify
fix yacl cycling control using wrong binding
This commit is contained in:
1 parent
c7b01f194f
commit
ec9f307f39
1 file changed
+2
-2
+2
-2
@@ -17,8 +17,8 @@ public class CyclingControllerElementComponentProcessor implements ComponentProc
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean overrideControllerNavigation(ScreenProcessor<?> screen, Controller<?, ?> controller) {
|
public boolean overrideControllerNavigation(ScreenProcessor<?> screen, Controller<?, ?> controller) {
|
||||||
var left = controller.bindings().GUI_NAVI_LEFT.held();
|
var left = controller.bindings().CYCLE_OPT_BACKWARD.held();
|
||||||
var right = controller.bindings().GUI_NAVI_RIGHT.held();
|
var right = controller.bindings().CYCLE_OPT_FORWARD.held();
|
||||||
|
|
||||||
if (left && !prevLeft) {
|
if (left && !prevLeft) {
|
||||||
prevLeft = true;
|
prevLeft = true;
|
||||||
|
|||||||
Reference in new issue
Block a user