From 3b69335a8ffa27f6b740b6740f34c023346c9ac0 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Mon, 29 Jul 2024 21:34:52 +0200 Subject: [PATCH] Limit the quest tooltip depth for completed quest trees --- .../Windows/QuestComponents/QuestTooltipComponent.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Questionable/Windows/QuestComponents/QuestTooltipComponent.cs b/Questionable/Windows/QuestComponents/QuestTooltipComponent.cs index e8f5b5f7..41b04214 100644 --- a/Questionable/Windows/QuestComponents/QuestTooltipComponent.cs +++ b/Questionable/Windows/QuestComponents/QuestTooltipComponent.cs @@ -1,4 +1,5 @@ -using Dalamud.Interface.Colors; +using Dalamud.Interface; +using Dalamud.Interface.Colors; using Dalamud.Interface.Utility.Raii; using FFXIVClientStructs.FFXIV.Client.UI.Agent; using ImGuiNET; @@ -92,7 +93,8 @@ internal sealed class QuestTooltipComponent _uiUtils.ChecklistItem(FormatQuestUnlockName(qInfo), iconColor, icon); - DrawQuestUnlocks(qInfo, counter + 1); + if (counter <= 2 || icon != FontAwesomeIcon.Check) + DrawQuestUnlocks(qInfo, counter + 1); } }