From: Liza Carvelli Date: Sat, 10 May 2025 18:06:12 +0000 (+0200) Subject: Add logic to uncollapse window if it is currently showing but collapsed X-Git-Tag: v5.11~3 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=d6b34853f58c639187f67e1e7ecc405b9099d8a0;p=Questionable.git Add logic to uncollapse window if it is currently showing but collapsed --- diff --git a/LLib b/LLib index edbe9b6b..577bec51 160000 --- a/LLib +++ b/LLib @@ -1 +1 @@ -Subproject commit edbe9b6be03249192cb07000ca032dd91f7c5f13 +Subproject commit 577bec518d80cf135ac8f2e8924d840eae1631a5 diff --git a/Questionable/Controller/CommandHandler.cs b/Questionable/Controller/CommandHandler.cs index de7b06b8..78e699e4 100644 --- a/Questionable/Controller/CommandHandler.cs +++ b/Questionable/Controller/CommandHandler.cs @@ -94,7 +94,7 @@ internal sealed class CommandHandler : IDisposable { case "c": case "config": - _configWindow.Toggle(); + _configWindow.ToggleOrUncollapse(); break; case "start": @@ -141,7 +141,7 @@ internal sealed class CommandHandler : IDisposable break; case "": - _questWindow.Toggle(); + _questWindow.ToggleOrUncollapse(); break; default: diff --git a/Questionable/DalamudInitializer.cs b/Questionable/DalamudInitializer.cs index 1c6f8a66..fa00aebb 100644 --- a/Questionable/DalamudInitializer.cs +++ b/Questionable/DalamudInitializer.cs @@ -106,7 +106,7 @@ internal sealed class DalamudInitializer : IDisposable private void ToggleQuestWindow() { if (_configuration.IsPluginSetupComplete()) - _questWindow.Toggle(); + _questWindow.ToggleOrUncollapse(); else _oneTimeSetupWindow.IsOpen = true; } diff --git a/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs b/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs index 3a00bbb6..520fd102 100644 --- a/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs +++ b/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs @@ -127,7 +127,7 @@ internal sealed partial class ActiveQuestComponent ImGui.SameLine(); if (ImGuiComponents.IconButton(FontAwesomeIcon.SortAmountDown)) - _priorityWindow.Toggle(); + _priorityWindow.ToggleOrUncollapse(); } } @@ -333,7 +333,7 @@ internal sealed partial class ActiveQuestComponent ImGui.SameLine(); if (ImGuiComponents.IconButton(FontAwesomeIcon.SortAmountDown)) - _priorityWindow.Toggle(); + _priorityWindow.ToggleOrUncollapse(); if (_commandManager.Commands.TryGetValue("/questinfo", out var commandInfo)) {