Fix scrolled() signature for libGDX 1.9.12+ compatibility
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user