mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Small fix for Enable All.
This commit is contained in:
parent
24aa7eac24
commit
70a5ee9485
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
using System;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Dalamud.Interface;
|
using Dalamud.Interface;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
|
|
@ -224,7 +225,8 @@ public partial class ConfigWindow
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
if( ImGui.Selectable( "Enable All" ) )
|
if( ImGui.Selectable( "Enable All" ) )
|
||||||
{
|
{
|
||||||
Penumbra.CollectionManager.Current.SetModSetting( _mod.Index, groupIdx, ( 1u << group.Count ) - 1u );
|
flags = group.Count == 32 ? uint.MaxValue : ( 1u << group.Count ) - 1u;
|
||||||
|
Penumbra.CollectionManager.Current.SetModSetting( _mod.Index, groupIdx, flags );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ImGui.Selectable( "Disable All" ) )
|
if( ImGui.Selectable( "Disable All" ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue