mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 13:39:02 +00:00
🔥 Remove commented code on colorpicker/gradients ns
This commit is contained in:
parent
c504e38f6d
commit
e0efa63fa1
@ -34,10 +34,6 @@
|
|||||||
(/ (.. event -nativeEvent -offsetX)
|
(/ (.. event -nativeEvent -offsetX)
|
||||||
(-> event dom/get-current-target dom/get-bounding-rect :width)))
|
(-> event dom/get-current-target dom/get-bounding-rect :width)))
|
||||||
|
|
||||||
;; (defn- format-rgba
|
|
||||||
;; [{:keys [r g b alpha offset]}]
|
|
||||||
;; (str/ffmt "rgba(%1, %2, %3, %4) %5%%" r g b alpha (* offset 100)))
|
|
||||||
|
|
||||||
(defn- format-rgb
|
(defn- format-rgb
|
||||||
[{:keys [r g b offset]}]
|
[{:keys [r g b offset]}]
|
||||||
(str/ffmt "rgb(%1, %2, %3) %4%%" r g b (* offset 100)))
|
(str/ffmt "rgb(%1, %2, %3) %4%%" r g b (* offset 100)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user