mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
feat: add dummy below open categories
This commit is contained in:
parent
fe6f27172d
commit
504fcdcd4c
1 changed files with 6 additions and 1 deletions
|
|
@ -664,7 +664,7 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.SetNextItemOpen(groupIdx == this.categoryManager.CurrentGroupIdx);
|
ImGui.SetNextItemOpen(groupIdx == this.categoryManager.CurrentGroupIdx);
|
||||||
if (ImGui.CollapsingHeader(groupInfo.Name))
|
if (ImGui.CollapsingHeader(groupInfo.Name, groupIdx == this.categoryManager.CurrentGroupIdx ? ImGuiTreeNodeFlags.OpenOnDoubleClick : ImGuiTreeNodeFlags.None))
|
||||||
{
|
{
|
||||||
if (this.categoryManager.CurrentGroupIdx != groupIdx)
|
if (this.categoryManager.CurrentGroupIdx != groupIdx)
|
||||||
{
|
{
|
||||||
|
|
@ -695,6 +695,11 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.Unindent();
|
ImGui.Unindent();
|
||||||
|
|
||||||
|
if (groupIdx != this.categoryManager.GroupList.Length - 1)
|
||||||
|
{
|
||||||
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue