mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 23:37:47 +01:00
Merge branch 'master' into AeAstralis/tagging
This commit is contained in:
commit
c34cc4638c
16 changed files with 119 additions and 39 deletions
|
|
@ -211,6 +211,11 @@ public class ModPanelSettingsTab : ITab
|
|||
var selectedOption = _empty ? (int)group.DefaultSettings : (int)_settings.Settings[groupIdx];
|
||||
var minWidth = Widget.BeginFramedGroup(group.Name, description:group.Description);
|
||||
|
||||
DrawCollapseHandling(group, minWidth, DrawOptions);
|
||||
|
||||
Widget.EndFramedGroup();
|
||||
return;
|
||||
|
||||
void DrawOptions()
|
||||
{
|
||||
for (var idx = 0; idx < group.Count; ++idx)
|
||||
|
|
@ -227,10 +232,6 @@ public class ModPanelSettingsTab : ITab
|
|||
ImGuiComponents.HelpMarker(option.Description);
|
||||
}
|
||||
}
|
||||
|
||||
DrawCollapseHandling(group, minWidth, DrawOptions);
|
||||
|
||||
Widget.EndFramedGroup();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue