diff --git a/Source/Editor/GUI/Input/ValueBox.cs b/Source/Editor/GUI/Input/ValueBox.cs index fba6718e4..f198c6049 100644 --- a/Source/Editor/GUI/Input/ValueBox.cs +++ b/Source/Editor/GUI/Input/ValueBox.cs @@ -328,8 +328,10 @@ namespace FlaxEditor.GUI.Input { if (button == MouseButton.Left && _isSliding) { +#if !PLATFORM_SDL // End sliding and return mouse to original location RootWindow.MousePosition = _mouseClickedPosition; +#endif EndSliding(); return true; }