From: Liza Carvelli Date: Thu, 19 Sep 2024 22:35:54 +0000 (+0200) Subject: Change gathering editor window to auto-resize X-Git-Tag: v3.6~18 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=878d4db61863af26e3127484c90ce8149a32a82e;p=Questionable.git Change gathering editor window to auto-resize --- diff --git a/GatheringPathRenderer/Windows/EditorWindow.cs b/GatheringPathRenderer/Windows/EditorWindow.cs index e081c967..5da1bf04 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;