From fea296bcbb677f51853655d223cef4f74373ef17 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Wed, 20 Sep 2023 21:59:37 +0300 Subject: [PATCH 1/2] Fix white window flickering in context menus --- Source/Engine/Platform/CreateWindowSettings.cs | 1 + Source/Engine/Platform/CreateWindowSettings.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Engine/Platform/CreateWindowSettings.cs b/Source/Engine/Platform/CreateWindowSettings.cs index 1e5d17484..d4d9ce727 100644 --- a/Source/Engine/Platform/CreateWindowSettings.cs +++ b/Source/Engine/Platform/CreateWindowSettings.cs @@ -23,6 +23,7 @@ namespace FlaxEngine AllowDragAndDrop = true, IsRegularWindow = true, HasSizingFrame = true, + ShowAfterFirstPaint = true, }; } } diff --git a/Source/Engine/Platform/CreateWindowSettings.h b/Source/Engine/Platform/CreateWindowSettings.h index 71bbf58c3..1ff596df9 100644 --- a/Source/Engine/Platform/CreateWindowSettings.h +++ b/Source/Engine/Platform/CreateWindowSettings.h @@ -131,7 +131,7 @@ DECLARE_SCRIPTING_TYPE_MINIMAL(CreateWindowSettings); /// /// Enable/disable window auto-show after the first paint. /// - API_FIELD() bool ShowAfterFirstPaint = false; + API_FIELD() bool ShowAfterFirstPaint = true; /// /// The custom data (platform dependant). From bbf88832754c9f3ecc543b70fcf85f3e1dc92419 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Thu, 21 Sep 2023 20:12:29 +0300 Subject: [PATCH 2/2] Fix docking hint areas not hiding after dragging a window --- Source/Editor/GUI/Docking/DockHintWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/GUI/Docking/DockHintWindow.cs b/Source/Editor/GUI/Docking/DockHintWindow.cs index 6dc700731..52c5dcd3c 100644 --- a/Source/Editor/GUI/Docking/DockHintWindow.cs +++ b/Source/Editor/GUI/Docking/DockHintWindow.cs @@ -476,6 +476,7 @@ namespace FlaxEditor.GUI.Docking settings.ShowInTaskbar = false; settings.ActivateWhenFirstShown = false; settings.IsTopmost = true; + settings.ShowAfterFirstPaint = false; win = Platform.CreateWindow(ref settings);