From 5c78e0d4660425df27452d3d1da866bbfcde28fc Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Sun, 5 Feb 2023 15:23:09 -0600 Subject: [PATCH] Possible fix for values reverting to previous values in ValueBoxes when changing the value right after sliding. --- Source/Editor/GUI/Input/ValueBox.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/GUI/Input/ValueBox.cs b/Source/Editor/GUI/Input/ValueBox.cs index d9c1b9325..492887611 100644 --- a/Source/Editor/GUI/Input/ValueBox.cs +++ b/Source/Editor/GUI/Input/ValueBox.cs @@ -181,6 +181,7 @@ namespace FlaxEditor.GUI.Input _cursorChanged = false; } SlidingEnd?.Invoke(); + Defocus(); } ///