mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
Parse double to preserve opacity
This commit is contained in:
parent
3c7261e75b
commit
1f88c8288a
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@
|
||||||
(let [resolved-tokens (reduce
|
(let [resolved-tokens (reduce
|
||||||
(fn [acc ^js cur]
|
(fn [acc ^js cur]
|
||||||
(let [value (.-value cur)
|
(let [value (.-value cur)
|
||||||
resolved-value (d/parse-integer (.-value cur))
|
resolved-value (d/parse-double (.-value cur))
|
||||||
original-value (-> cur .-original .-value)
|
original-value (-> cur .-original .-value)
|
||||||
id (uuid (.-uuid (.-id cur)))
|
id (uuid (.-uuid (.-id cur)))
|
||||||
missing-reference? (and (not resolved-value)
|
missing-reference? (and (not resolved-value)
|
||||||
|
|
Loading…
Add table
Reference in a new issue