🐛 Fix problem with wheel-zoom on an editing text

This commit is contained in:
alonso.torres 2022-03-30 15:49:38 +02:00
parent 4a3fb55b30
commit 9f19676dc2
4 changed files with 17 additions and 9 deletions

View file

@ -530,3 +530,8 @@
(when onfinish
(set! (.-onfinish animation) onfinish)))))
(defn is-child?
[^js node ^js candidate]
(and (some? node)
(some? candidate)
(.contains node candidate)))