From 5ddc35ccc79ee45345c84539b7749364298d6a61 Mon Sep 17 00:00:00 2001 From: oakes Date: Fri, 10 Jan 2014 14:34:06 -0500 Subject: [PATCH] Fix standalone input functions --- src/play_clj/core_global.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/play_clj/core_global.clj b/src/play_clj/core_global.clj index 05778b9..013209e 100644 --- a/src/play_clj/core_global.clj +++ b/src/play_clj/core_global.clj @@ -77,7 +77,7 @@ (defmacro input [& args] - `(input* ~args (fn [func# options#] (func# options#)))) + `(input* ~args (fn [func# & options#] (func# options#)))) (defn gesture* [{:keys [fling long-press pan pan-stop pinch tap zoom] @@ -115,7 +115,7 @@ (defmacro gesture [& args] - `(gesture* ~args (fn [func# options#] (func# options#)))) + `(gesture* ~args (fn [func# & options#] (func# options#)))) (defn add-input! [^InputProcessor p]