From 0a82ad7bc8bb5fefc10001e88ade76fb0d7ebcbb Mon Sep 17 00:00:00 2001 From: "Colin J. Brigato" Date: Mon, 7 Oct 2024 07:21:19 +0200 Subject: [PATCH 1/3] Add WindowFlagsNoDocking Update Flags.go --- Flags.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Flags.go b/Flags.go index 087b074f..01ad94a1 100644 --- a/Flags.go +++ b/Flags.go @@ -111,6 +111,10 @@ const ( // WindowFlagsNoNav combines WindowFlagsNoNavInputs and WindowFlagsNoNavFocus. WindowFlagsNoNav WindowFlags = WindowFlags(imgui.WindowFlagsNoNav) // WindowFlagsNoDecoration combines WindowFlagsNoTitleBar, WindowFlagsNoResize, WindowFlagsNoScrollbar and + + // WindowFlagsNoDocking Disable docking of this window + WindowFlagsNoDocking WindowFlags = WindowFlags(imgui.WindowFlagsNoDocking) + // WindowFlagsNoCollapse. WindowFlagsNoDecoration WindowFlags = WindowFlags(imgui.WindowFlagsNoDecoration) // WindowFlagsNoInputs combines WindowFlagsNoMouseInputs, WindowFlagsNoNavInputs and WindowFlagsNoNavFocus. From 9e6071b8b0b38532e21443a280e0a68120695060 Mon Sep 17 00:00:00 2001 From: "Colin J. Brigato" Date: Mon, 7 Oct 2024 08:00:09 +0200 Subject: [PATCH 2/3] linter --- Flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flags.go b/Flags.go index 01ad94a1..3b6b15b9 100644 --- a/Flags.go +++ b/Flags.go @@ -110,11 +110,11 @@ const ( // WindowFlagsNoNav combines WindowFlagsNoNavInputs and WindowFlagsNoNavFocus. WindowFlagsNoNav WindowFlags = WindowFlags(imgui.WindowFlagsNoNav) - // WindowFlagsNoDecoration combines WindowFlagsNoTitleBar, WindowFlagsNoResize, WindowFlagsNoScrollbar and - // WindowFlagsNoDocking Disable docking of this window + // WindowFlagsNoDocking Disable docking of this window. WindowFlagsNoDocking WindowFlags = WindowFlags(imgui.WindowFlagsNoDocking) + // WindowFlagsNoDecoration combines WindowFlagsNoTitleBar, WindowFlagsNoResize, WindowFlagsNoScrollbar and // WindowFlagsNoCollapse. WindowFlagsNoDecoration WindowFlags = WindowFlags(imgui.WindowFlagsNoDecoration) // WindowFlagsNoInputs combines WindowFlagsNoMouseInputs, WindowFlagsNoNavInputs and WindowFlagsNoNavFocus. From 07476ce1a9a356d73f009e41ad5ec16f5e82254f Mon Sep 17 00:00:00 2001 From: "Colin J. Brigato" Date: Mon, 7 Oct 2024 08:14:18 +0200 Subject: [PATCH 3/3] gofmt --- Flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flags.go b/Flags.go index 3b6b15b9..84526aec 100644 --- a/Flags.go +++ b/Flags.go @@ -113,7 +113,7 @@ const ( // WindowFlagsNoDocking Disable docking of this window. WindowFlagsNoDocking WindowFlags = WindowFlags(imgui.WindowFlagsNoDocking) - + // WindowFlagsNoDecoration combines WindowFlagsNoTitleBar, WindowFlagsNoResize, WindowFlagsNoScrollbar and // WindowFlagsNoCollapse. WindowFlagsNoDecoration WindowFlags = WindowFlags(imgui.WindowFlagsNoDecoration)