mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 06:32:38 -05:00
🐛 Remove negative values from the input in teh grid editor
This commit is contained in:
parent
8b2ae380b0
commit
e75fb67eec
1 changed files with 1 additions and 0 deletions
|
@ -664,6 +664,7 @@
|
|||
(let [target (-> event dom/get-target)
|
||||
value (-> target dom/get-input-value str/upper)
|
||||
value-int (d/parse-integer value)
|
||||
value-int (when value-int (max 0 value-int))
|
||||
|
||||
[track-type value]
|
||||
(cond
|
||||
|
|
Loading…
Add table
Reference in a new issue