mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 04:31:38 +02:00
🐛 Fix opacity in color picker
This commit is contained in:
parent
bea96cb586
commit
f444d3d01d
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(mf/deps @drag?)
|
(mf/deps @drag?)
|
||||||
(fn [color]
|
(fn [color]
|
||||||
(let [recent-color (merge color)
|
(let [recent-color (merge current-color color)
|
||||||
recent-color (dc/materialize-color-components recent-color)]
|
recent-color (dc/materialize-color-components recent-color)]
|
||||||
(when (not @drag?)
|
(when (not @drag?)
|
||||||
(st/emit! (dwl/add-recent-color recent-color)))
|
(st/emit! (dwl/add-recent-color recent-color)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue