mirror of
https://github.com/penpot/penpot.git
synced 2026-03-31 00:29:37 +02:00
🐛 Remove negative values from the input in teh grid editor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user