Limit the quest tooltip depth for completed quest trees
This commit is contained in:
parent
83e88e9e36
commit
3b69335a8f
@ -1,4 +1,5 @@
|
|||||||
using Dalamud.Interface.Colors;
|
using Dalamud.Interface;
|
||||||
|
using Dalamud.Interface.Colors;
|
||||||
using Dalamud.Interface.Utility.Raii;
|
using Dalamud.Interface.Utility.Raii;
|
||||||
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
|
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
@ -92,6 +93,7 @@ internal sealed class QuestTooltipComponent
|
|||||||
|
|
||||||
_uiUtils.ChecklistItem(FormatQuestUnlockName(qInfo), iconColor, icon);
|
_uiUtils.ChecklistItem(FormatQuestUnlockName(qInfo), iconColor, icon);
|
||||||
|
|
||||||
|
if (counter <= 2 || icon != FontAwesomeIcon.Check)
|
||||||
DrawQuestUnlocks(qInfo, counter + 1);
|
DrawQuestUnlocks(qInfo, counter + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user