mirror of
https://github.com/penpot/penpot.git
synced 2026-05-10 18:48:23 +00:00
♻️ Remove unreachable try/catch in hex->hsl (#9245)
This commit is contained in:
parent
49759021bf
commit
e30e5906c8
@ -332,10 +332,7 @@
|
||||
(conj opacity)))
|
||||
|
||||
(defn hex->hsl [hex]
|
||||
(try
|
||||
(-> hex hex->rgb rgb->hsl)
|
||||
(catch #?(:clj Throwable :cljs :default) _e
|
||||
[0 0 0])))
|
||||
(-> hex hex->rgb rgb->hsl))
|
||||
|
||||
(defn hex->hsla
|
||||
[data opacity]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user