Fix scrolled() signature for libGDX 1.9.12+ compatibility
This commit is contained in:
@@ -19,8 +19,8 @@
|
|||||||
(mouseMoved [this sx sy]
|
(mouseMoved [this sx sy]
|
||||||
(execute-fn! on-mouse-moved {:input-x sx :input-y sy})
|
(execute-fn! on-mouse-moved {:input-x sx :input-y sy})
|
||||||
false)
|
false)
|
||||||
(scrolled [this a]
|
(scrolled [this amountX amountY]
|
||||||
(execute-fn! on-scrolled {:amount a})
|
(execute-fn! on-scrolled {:amount-x amountX :amount-y amountY})
|
||||||
false)
|
false)
|
||||||
(touchDown [this sx sy p b]
|
(touchDown [this sx sy p b]
|
||||||
(execute-fn! on-touch-down {:input-x sx :input-y sy :pointer p :button b})
|
(execute-fn! on-touch-down {:input-x sx :input-y sy :pointer p :button b})
|
||||||
|
|||||||
Reference in New Issue
Block a user