From: Liza Carvelli Date: Mon, 29 Jul 2024 19:34:52 +0000 (+0200) Subject: Limit the quest tooltip depth for completed quest trees X-Git-Tag: v1.23~8 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=3b69335a8ffa27f6b740b6740f34c023346c9ac0;p=Questionable.git Limit the quest tooltip depth for completed quest trees --- 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); } }