mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 20:01:38 +02:00
🎉 Add new gradients UI
This commit is contained in:
parent
bc250c962d
commit
838c1324b9
21 changed files with 1490 additions and 281 deletions
|
@ -211,9 +211,12 @@
|
|||
|
||||
handle-focus
|
||||
(mf/use-callback
|
||||
(mf/deps on-focus select-on-focus?)
|
||||
(fn [event]
|
||||
(reset! last-value* (parse-value))
|
||||
(let [target (dom/get-target event)]
|
||||
(when on-focus
|
||||
(mf/set-ref-val! dirty-ref true)
|
||||
(on-focus event))
|
||||
|
||||
(when select-on-focus?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue