From 878d4db61863af26e3127484c90ce8149a32a82e Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Fri, 20 Sep 2024 00:35:54 +0200 Subject: [PATCH] Change gathering editor window to auto-resize --- GatheringPathRenderer/Windows/EditorWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GatheringPathRenderer/Windows/EditorWindow.cs b/GatheringPathRenderer/Windows/EditorWindow.cs index e081c9671..5da1bf04c 100644 --- a/GatheringPathRenderer/Windows/EditorWindow.cs +++ b/GatheringPathRenderer/Windows/EditorWindow.cs @@ -35,7 +35,7 @@ internal sealed class EditorWindow : Window public EditorWindow(RendererPlugin plugin, EditorCommands editorCommands, IDataManager dataManager, ITargetManager targetManager, IClientState clientState, IObjectTable objectTable) : base("Gathering Path Editor###QuestionableGatheringPathEditor", - ImGuiWindowFlags.NoFocusOnAppearing | ImGuiWindowFlags.NoNavFocus) + ImGuiWindowFlags.NoFocusOnAppearing | ImGuiWindowFlags.NoNavFocus | ImGuiWindowFlags.AlwaysAutoResize) { _plugin = plugin; _editorCommands = editorCommands; @@ -46,7 +46,7 @@ internal sealed class EditorWindow : Window SizeConstraints = new WindowSizeConstraints { - MinimumSize = new Vector2(300, 300), + MinimumSize = new Vector2(300, 100), }; RespectCloseHotkey = false;