From 39e41837d617579c17de2e9959220f2e1c038035 Mon Sep 17 00:00:00 2001 From: krVatsal Date: Sun, 25 Jan 2026 22:25:27 +0530 Subject: [PATCH] fixed to register non integer drag also --- frontend/src/components/widgets/inputs/NumberInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/widgets/inputs/NumberInput.svelte b/frontend/src/components/widgets/inputs/NumberInput.svelte index 199d3ce4be..51152a2025 100644 --- a/frontend/src/components/widgets/inputs/NumberInput.svelte +++ b/frontend/src/components/widgets/inputs/NumberInput.svelte @@ -469,7 +469,7 @@ cumulativeDragDelta += dragDelta; const combined = initialValue + cumulativeDragDelta; - const combineSnapped = snapping ? Math.round(combined) : combined; + const combineSnapped = snapping || isInteger ? Math.round(combined) : combined; const newValue = updateValue(combineSnapped);