mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 15:48:28 +08:00
🐛 Fix pixel grid color row (#9360)
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
|
||||
(t/deftest ac-rgb-to-hsl
|
||||
;; Black: h=0, s=0.0, l=0.0 (s is 0.0 not 0 on JVM, and ##NaN for white)
|
||||
(let [[h s l] (c/rgb->hsl [0 0 0])]
|
||||
(let [[h _s l] (c/rgb->hsl [0 0 0])]
|
||||
(t/is (= 0 h))
|
||||
(t/is (mth/close? l 0.0)))
|
||||
;; White: h=0, s=##NaN (achromatic), l=1.0
|
||||
|
||||
Reference in New Issue
Block a user