mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 23:17:11 +02:00
🐛 Fix problem with throttle function
This commit is contained in:
parent
7436918edb
commit
75d0648065
2 changed files with 16 additions and 14 deletions
|
@ -44,7 +44,7 @@
|
|||
|
||||
(when-not ^boolean timeout-id
|
||||
(set! (.-timeoutId state)
|
||||
(js/setTimeout execute-fn (- delay ctime ltime))))))))]
|
||||
(js/setTimeout execute-fn (- delay (- ctime ltime)))))))))]
|
||||
|
||||
(specify! wrapped-fn
|
||||
rx/IDisposable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue