Limit the quest tooltip depth for completed quest trees

pull/14/head
Liza 2024-07-29 21:34:52 +02:00
parent 83e88e9e36
commit 3b69335a8f
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 4 additions and 2 deletions

View File

@ -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);
}
}