♻️ Refactor state management of colorpicker & gradients

This commit is contained in:
Andrey Antukh 2022-08-09 13:29:26 +02:00
parent 4cc88bf84f
commit 8d06227d1e
15 changed files with 647 additions and 607 deletions

View file

@ -123,7 +123,7 @@
(defn get-current-target
"Extract the current target from event instance (different from target
when event triggered in a child of the subscribing element)."
when event triggered in a child of the subscribing element)."
[^js event]
(when (some? event)
(.-currentTarget event)))