mirror of
https://github.com/penpot/penpot.git
synced 2026-03-19 17:03:44 +00:00
🔥 Remove commented code on colorpicker/gradients ns
This commit is contained in:
@@ -34,10 +34,6 @@
|
||||
(/ (.. event -nativeEvent -offsetX)
|
||||
(-> 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
|
||||
[{:keys [r g b offset]}]
|
||||
(str/ffmt "rgb(%1, %2, %3) %4%%" r g b (* offset 100)))
|
||||
|
||||
Reference in New Issue
Block a user