mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🔥 Remove commented code on colorpicker/gradients ns
This commit is contained in:
parent
c504e38f6d
commit
e0efa63fa1
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue