From 76f0768b99dea2a6dac3be1e4e40f9701d0fb2d9 Mon Sep 17 00:00:00 2001 From: Saas Date: Sun, 12 Oct 2025 16:14:07 +0200 Subject: [PATCH] float --- Source/Editor/GUI/Input/ValueBox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/GUI/Input/ValueBox.cs b/Source/Editor/GUI/Input/ValueBox.cs index db3ae5413..88ec9a4ee 100644 --- a/Source/Editor/GUI/Input/ValueBox.cs +++ b/Source/Editor/GUI/Input/ValueBox.cs @@ -252,7 +252,7 @@ namespace FlaxEditor.GUI.Input bool altDown = Root.GetKey(KeyboardKeys.Alt); bool shiftDown = Root.GetKey(KeyboardKeys.Shift); bool controlDown = Root.GetKey(KeyboardKeys.Control); - float deltaValue = altDown ? 0.1f : (shiftDown ? 10f : (controlDown ? 100f : 1)); + float deltaValue = altDown ? 0.1f : (shiftDown ? 10f : (controlDown ? 100f : 1f)); float slideDelta = key == KeyboardKeys.ArrowUp ? deltaValue : -deltaValue; _startSlideValue = Value;