Fix scrolled() signature for libGDX 1.9.12+ compatibility

This commit is contained in:
2026-03-21 22:29:22 -07:00
parent 49def84f5a
commit 1d361821f7

View File

@@ -19,8 +19,8 @@
(mouseMoved [this sx sy]
(execute-fn! on-mouse-moved {:input-x sx :input-y sy})
false)
(scrolled [this a]
(execute-fn! on-scrolled {:amount a})
(scrolled [this amountX amountY]
(execute-fn! on-scrolled {:amount-x amountX :amount-y amountY})
false)
(touchDown [this sx sy p b]
(execute-fn! on-touch-down {:input-x sx :input-y sy :pointer p :button b})