From e75fb67eec645458ad82c4274e334eb87484f753 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 5 Dec 2023 17:05:46 +0100 Subject: [PATCH] :bug: Remove negative values from the input in teh grid editor --- .../src/app/main/ui/workspace/viewport/grid_layout_editor.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/main/ui/workspace/viewport/grid_layout_editor.cljs b/frontend/src/app/main/ui/workspace/viewport/grid_layout_editor.cljs index 34a674261..2a2c0aa9c 100644 --- a/frontend/src/app/main/ui/workspace/viewport/grid_layout_editor.cljs +++ b/frontend/src/app/main/ui/workspace/viewport/grid_layout_editor.cljs @@ -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