chore: use gfun/debounce as util/debounce

This commit is contained in:
Tienson Qin
2025-01-07 20:29:30 +08:00
parent 6be1d0c2f9
commit e9a5235aa3
4 changed files with 175 additions and 184 deletions

View File

@@ -110,7 +110,8 @@
(def adjust-viewer-size!
(util/debounce
200 (fn [^js viewer] (set! (. viewer -currentScaleValue) "auto"))))
(fn [^js viewer] (set! (. viewer -currentScaleValue) "auto"))
200))
(defn fix-nested-js
[its]