mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 15:17:14 +02:00
♻️ Refactor state management of colorpicker & gradients
This commit is contained in:
parent
4cc88bf84f
commit
8d06227d1e
15 changed files with 647 additions and 607 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue