Fix curve editor scroll bars to be hidden when not enabled

#1083
This commit is contained in:
Wojtek Figat
2025-01-28 23:07:05 +01:00
parent d25cb7a9da
commit a31279954a

View File

@@ -448,7 +448,7 @@ namespace FlaxEditor.GUI
_mainPanel = new Panel(ScrollBars.Both) _mainPanel = new Panel(ScrollBars.Both)
{ {
ScrollMargin = new Margin(150.0f), ScrollMargin = new Margin(150.0f),
AlwaysShowScrollbars = true, AlwaysShowScrollbars = false,
AnchorPreset = AnchorPresets.StretchAll, AnchorPreset = AnchorPresets.StretchAll,
Offsets = Margin.Zero, Offsets = Margin.Zero,
Parent = this Parent = this