mirror of
https://github.com/penpot/penpot.git
synced 2025-03-19 11:11:21 -05:00
Add missing import on colorpicker ns.
This commit is contained in:
parent
c397100cbc
commit
29b0036248
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
[rum.core :as rum]
|
||||
[cats.labs.lens :as l]
|
||||
[goog.events :as events]
|
||||
[uxbox.util.color :refer (rgb->hex)]
|
||||
[uxbox.ui.mixins :as mx])
|
||||
(:import goog.events.EventType))
|
||||
|
||||
|
@ -21,7 +22,7 @@
|
|||
r (aget (.-data image) 0)
|
||||
g (aget (.-data image) 1)
|
||||
b (aget (.-data image) 2)]
|
||||
(callback {:hex (mx/rgb->hex [r g b])
|
||||
(callback {:hex (rgb->hex [r g b])
|
||||
:rgb [r g b]})))
|
||||
|
||||
(defn colorpicker-render
|
||||
|
|
Loading…
Add table
Reference in a new issue