0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-16 00:41:25 -05:00

🐛 Fix opacity valid values (#5820)

This commit is contained in:
Eva Marco 2025-02-11 11:28:25 +01:00 committed by GitHub
parent a3a757f842
commit 9660307f00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@
[value has-references?]
(let [parsed-value (wtt/parse-token-value value)
out-of-scope (< 100 (:value parsed-value))
out-of-scope (not (<= 0 (:value parsed-value) 1))
references (seq (ctob/find-token-value-references value))]
(cond
(and parsed-value (not out-of-scope))