mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 16:39:49 -05:00
🐛 Fix color picker not working when using shortcut
This commit is contained in:
parent
9f0e65a042
commit
67f56dd0f8
1 changed files with 5 additions and 2 deletions
|
@ -353,9 +353,12 @@
|
||||||
(-> state
|
(-> state
|
||||||
(assoc-in [:workspace-global :picking-color?] true)
|
(assoc-in [:workspace-global :picking-color?] true)
|
||||||
(assoc ::md/modal {:id (random-uuid)
|
(assoc ::md/modal {:id (random-uuid)
|
||||||
:data {:color colors/black :opacity 1}
|
|
||||||
:type :colorpicker
|
:type :colorpicker
|
||||||
:props {:on-change handle-change-color}
|
:props {:data {:color colors/black
|
||||||
|
:opacity 1}
|
||||||
|
:disable-opacity false
|
||||||
|
:disable-gradient false
|
||||||
|
:on-change handle-change-color}
|
||||||
:allow-click-outside true})))))))
|
:allow-click-outside true})))))))
|
||||||
|
|
||||||
(defn color-att->text
|
(defn color-att->text
|
||||||
|
|
Loading…
Add table
Reference in a new issue