mirror of
https://github.com/penpot/penpot.git
synced 2026-02-26 22:34:11 +00:00
🐛 Fixed problem with timers
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
(def ^:private cancel-idle-callback #(js/cancelIdleCallback %)))
|
||||
(do
|
||||
(def ^:private request-idle-callback #(js/setTimeout % 100))
|
||||
(def ^:private cancel-idle-callback #(js/cancelTimeout %))))
|
||||
(def ^:private cancel-idle-callback #(js/clearTimeout %))))
|
||||
|
||||
(defn schedule-on-idle
|
||||
[func]
|
||||
|
||||
Reference in New Issue
Block a user