mirror of https://github.com/logseq/logseq
fix(ui): incorrect nodes edge color for the global graph view #10578
parent
5bc3fb0383
commit
59cce66cd7
|
@ -85,5 +85,6 @@
|
||||||
(str/replace "hsl(" "")
|
(str/replace "hsl(" "")
|
||||||
(str/replace ")" "")
|
(str/replace ")" "")
|
||||||
(str/split ","))]
|
(str/split ","))]
|
||||||
(let [hsl-color (map js/parseFloat hsl-color)]
|
(when-let [hsl-color (and (not (str/blank? (first hsl-color)))
|
||||||
|
(map js/parseFloat hsl-color))]
|
||||||
(apply util/hsl2hex hsl-color))))
|
(apply util/hsl2hex hsl-color))))
|
||||||
|
|
Loading…
Reference in New Issue