updateMouseBorderControl

This commit is contained in:
2022-06-22 00:08:14 +00:00
parent cee2e30230
commit 736a1982b4
5 changed files with 37 additions and 6 deletions

View File

@@ -127,7 +127,7 @@
->{FlxG.keys.pressed.RIGHT}
->{FlxG.keys.pressed.UP}
->{FlxG.keys.pressed.DOWN})
(FlxG.camera.updateMouseBorderControl elapsed KEYBOARD_SCROLL_SPEED 0.15)
// don't move the ui camera before ui has been placed -- new UI elements could appear offscreen
(when (> uiGroup.length 0)
(unless (and textInput textInput.hasFocus)