Fix standalone input functions
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
(defmacro input
|
(defmacro input
|
||||||
[& args]
|
[& args]
|
||||||
`(input* ~args (fn [func# options#] (func# options#))))
|
`(input* ~args (fn [func# & options#] (func# options#))))
|
||||||
|
|
||||||
(defn gesture*
|
(defn gesture*
|
||||||
[{:keys [fling long-press pan pan-stop pinch tap zoom]
|
[{:keys [fling long-press pan pan-stop pinch tap zoom]
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
|
|
||||||
(defmacro gesture
|
(defmacro gesture
|
||||||
[& args]
|
[& args]
|
||||||
`(gesture* ~args (fn [func# options#] (func# options#))))
|
`(gesture* ~args (fn [func# & options#] (func# options#))))
|
||||||
|
|
||||||
(defn add-input!
|
(defn add-input!
|
||||||
[^InputProcessor p]
|
[^InputProcessor p]
|
||||||
|
|||||||
Reference in New Issue
Block a user