From: Liza Carvelli Date: Sat, 17 May 2025 13:36:40 +0000 (+0200) Subject: Update logic to uncollapse window if it is currently showing but collapsed X-Git-Tag: v5.12~4 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=58cfabf2c47a9fa6b486d872fb73a9005de44619;p=Questionable.git Update logic to uncollapse window if it is currently showing but collapsed --- diff --git a/LLib b/LLib index 577bec51..53cdf947 160000 --- a/LLib +++ b/LLib @@ -1 +1 @@ -Subproject commit 577bec518d80cf135ac8f2e8924d840eae1631a5 +Subproject commit 53cdf94754795ce6e7b4729284079a944ac4d52d diff --git a/Questionable/Windows/ConfigWindow.cs b/Questionable/Windows/ConfigWindow.cs index 42f01dcd..352e18ce 100644 --- a/Questionable/Windows/ConfigWindow.cs +++ b/Questionable/Windows/ConfigWindow.cs @@ -41,7 +41,7 @@ internal sealed class ConfigWindow : LWindow, IPersistableWindowConfig public WindowConfig WindowConfig => _configuration.ConfigWindowConfig; - public override void Draw() + public override void DrawContent() { using var tabBar = ImRaii.TabBar("QuestionableConfigTabs"); if (!tabBar) diff --git a/Questionable/Windows/JournalProgressWindow.cs b/Questionable/Windows/JournalProgressWindow.cs index e6d2a16d..65fdc801 100644 --- a/Questionable/Windows/JournalProgressWindow.cs +++ b/Questionable/Windows/JournalProgressWindow.cs @@ -59,7 +59,7 @@ internal sealed class JournalProgressWindow : LWindow, IDisposable _gatheringJournalComponent.RefreshCounts(); } - public override void Draw() + public override void DrawContent() { using var tabBar = ImRaii.TabBar("Journal"); if (!tabBar) diff --git a/Questionable/Windows/OneTimeSetupWindow.cs b/Questionable/Windows/OneTimeSetupWindow.cs index 5903ece6..bab81461 100644 --- a/Questionable/Windows/OneTimeSetupWindow.cs +++ b/Questionable/Windows/OneTimeSetupWindow.cs @@ -38,7 +38,7 @@ internal sealed class OneTimeSetupWindow : LWindow _logger.LogInformation("One-time setup needed: {IsOpen}", IsOpen); } - public override void Draw() + public override void DrawContent() { _pluginConfigComponent.Draw(out bool allRequiredInstalled); diff --git a/Questionable/Windows/PriorityWindow.cs b/Questionable/Windows/PriorityWindow.cs index 5cbb6e9d..72386e06 100644 --- a/Questionable/Windows/PriorityWindow.cs +++ b/Questionable/Windows/PriorityWindow.cs @@ -57,7 +57,7 @@ internal sealed class PriorityWindow : LWindow }; } - public override void Draw() + public override void DrawContent() { ImGui.Text("Quests to do first:"); DrawQuestFilter(); diff --git a/Questionable/Windows/QuestSelectionWindow.cs b/Questionable/Windows/QuestSelectionWindow.cs index fa5b56da..b25b94f5 100644 --- a/Questionable/Windows/QuestSelectionWindow.cs +++ b/Questionable/Windows/QuestSelectionWindow.cs @@ -134,7 +134,7 @@ internal sealed class QuestSelectionWindow : LWindow _offeredQuests = []; } - public override void Draw() + public override void DrawContent() { if (_offeredQuests.Count != 0) ImGui.Checkbox("Only show quests currently offered", ref _onlyAvailableQuests); diff --git a/Questionable/Windows/QuestValidationWindow.cs b/Questionable/Windows/QuestValidationWindow.cs index 7532ac5e..e8a29f51 100644 --- a/Questionable/Windows/QuestValidationWindow.cs +++ b/Questionable/Windows/QuestValidationWindow.cs @@ -35,7 +35,7 @@ internal sealed class QuestValidationWindow : LWindow }; } - public override void Draw() + public override void DrawContent() { using var table = ImRaii.Table("QuestSelection", 5, ImGuiTableFlags.Borders | ImGuiTableFlags.ScrollY); if (!table) diff --git a/Questionable/Windows/QuestWindow.cs b/Questionable/Windows/QuestWindow.cs index 1463895a..18f303c1 100644 --- a/Questionable/Windows/QuestWindow.cs +++ b/Questionable/Windows/QuestWindow.cs @@ -141,7 +141,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig return true; } - public override void Draw() + public override void DrawContent() { try {