🔥 Remove commented code on colorpicker/gradients ns

This commit is contained in:
Andrey Antukh 2025-01-29 18:55:46 +01:00
parent c504e38f6d
commit e0efa63fa1

View file

@ -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)))