mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 06:32:38 -05:00
🐛 Fixed problem with timers
This commit is contained in:
parent
3faa5b4a11
commit
2374cf41f8
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue