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);