diff --git a/src/play_clj/core_listeners.clj b/src/play_clj/core_listeners.clj index 5f881a9..d8ff3f3 100755 --- a/src/play_clj/core_listeners.clj +++ b/src/play_clj/core_listeners.clj @@ -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})