From b7b357014f43079ff80d36b5d736c72207500b36 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 29 Aug 2026 23:14:24 +0200 Subject: [PATCH] Comply with .net 8 for now --- Source/Editor/GUI/Docking/FloatWindowDockPanel.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Editor/GUI/Docking/FloatWindowDockPanel.cs b/Source/Editor/GUI/Docking/FloatWindowDockPanel.cs index 4c7fb19b7..1ba732d84 100644 --- a/Source/Editor/GUI/Docking/FloatWindowDockPanel.cs +++ b/Source/Editor/GUI/Docking/FloatWindowDockPanel.cs @@ -49,6 +49,7 @@ namespace FlaxEditor.GUI.Docking private MasterDockPanel _masterPanel; private WindowRootControl _window; + private bool _showDecorations; /// /// Gets the master panel. @@ -70,12 +71,12 @@ namespace FlaxEditor.GUI.Docking /// public bool ShowDecorations { - get => field; + get => _showDecorations; set { - if (value == field) + if (value == _showDecorations) return; - field = value; + _showDecorations = value; if (value) { var decorations = Parent.AddChild(new FloatWindowDecorations(this));