mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
✨ Minor cosmetic changes in ref definition.
This commit is contained in:
parent
9bb3e68d05
commit
2976bc4e5c
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
|||
(l/derived :picked-shift? refs/workspace-local))
|
||||
|
||||
(def viewport
|
||||
(l/derived (comp :vport :workspace-local) st/state))
|
||||
(l/derived (l/in [:workspace-local :vport]) st/state))
|
||||
|
||||
|
||||
;; --- Color Picker Modal
|
||||
|
@ -104,7 +104,7 @@
|
|||
(let [value (if (uc/hex? value) value "#000000")
|
||||
[r g b] (uc/hex->rgb value)
|
||||
[h s v] (uc/hex->hsv value)]
|
||||
|
||||
|
||||
{:hex (or value "000000")
|
||||
:alpha (or opacity 1)
|
||||
:r r :g g :b b
|
||||
|
|
Loading…
Add table
Reference in a new issue