mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
🐛 Fix problem with shadow menu
This commit is contained in:
parent
85a6edb1fd
commit
91b6a0bf69
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,9 @@
|
|||
(fn [value]
|
||||
(when (or (not valid?) (valid? value))
|
||||
(do (st/emit! (dch/update-shapes ids #(assoc-in % [:shadow index attr] value)))
|
||||
(when update-ref (dom/set-value! (mf/ref-val update-ref) value)))))))
|
||||
(let [update-node (and update-ref (mf/ref-val update-ref))]
|
||||
(when update-node
|
||||
(dom/set-value! update-node value))))))))
|
||||
|
||||
update-color
|
||||
(fn [index]
|
||||
|
|
Loading…
Add table
Reference in a new issue