fix comment

This commit is contained in:
Anthony Calosa
2025-07-07 12:08:10 +08:00
parent 99c6b6d815
commit b76c67f309

View File

@@ -385,7 +385,7 @@ public class UIScene extends Scene {
if (KeyBinding.Down.isPressed(keycode, !(stage.getKeyboardFocus() instanceof TextField)) if (KeyBinding.Down.isPressed(keycode, !(stage.getKeyboardFocus() instanceof TextField))
|| KeyBinding.Down.isPressed(keycode, Input.Keys.S != keycode)) || KeyBinding.Down.isPressed(keycode, Input.Keys.S != keycode))
selectNextDown(); selectNextDown();
//Allow letter W for TextField since this is binded on down keys //Allow letter W for TextField since this is binded on up keys
if (KeyBinding.Up.isPressed(keycode, !(stage.getKeyboardFocus() instanceof TextField)) if (KeyBinding.Up.isPressed(keycode, !(stage.getKeyboardFocus() instanceof TextField))
|| KeyBinding.Up.isPressed(keycode, Input.Keys.W != keycode)) || KeyBinding.Up.isPressed(keycode, Input.Keys.W != keycode))
selectNextUp(); selectNextUp();