mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +01:00
Rename EQDP checkmarks. 50/50 chance.
This commit is contained in:
parent
60229f8b45
commit
f13893cf77
1 changed files with 4 additions and 4 deletions
|
|
@ -244,9 +244,9 @@ public partial class ModEditWindow
|
||||||
// Values
|
// Values
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
var (bit1, bit2) = defaultEntry.ToBits( _new.Slot );
|
var (bit1, bit2) = defaultEntry.ToBits( _new.Slot );
|
||||||
Checkmark( "##eqdpCheck1", string.Empty, bit1, bit1, out _ );
|
Checkmark( "Material##eqdpCheck1", string.Empty, bit1, bit1, out _ );
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
Checkmark( "##eqdpCheck2", string.Empty, bit2, bit2, out _ );
|
Checkmark( "Model##eqdpCheck2", string.Empty, bit2, bit2, out _ );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Draw( EqdpManipulation meta, Mod.Editor editor, Vector2 iconSize )
|
public static void Draw( EqdpManipulation meta, Mod.Editor editor, Vector2 iconSize )
|
||||||
|
|
@ -276,13 +276,13 @@ public partial class ModEditWindow
|
||||||
var (defaultBit1, defaultBit2) = defaultEntry.ToBits( meta.Slot );
|
var (defaultBit1, defaultBit2) = defaultEntry.ToBits( meta.Slot );
|
||||||
var (bit1, bit2) = meta.Entry.ToBits( meta.Slot );
|
var (bit1, bit2) = meta.Entry.ToBits( meta.Slot );
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
if( Checkmark( "##eqdpCheck1", string.Empty, bit1, defaultBit1, out var newBit1 ) )
|
if( Checkmark( "Material##eqdpCheck1", string.Empty, bit1, defaultBit1, out var newBit1 ) )
|
||||||
{
|
{
|
||||||
editor.Meta.Change( meta with { Entry = Eqdp.FromSlotAndBits( meta.Slot, newBit1, bit2 ) } );
|
editor.Meta.Change( meta with { Entry = Eqdp.FromSlotAndBits( meta.Slot, newBit1, bit2 ) } );
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
if( Checkmark( "##eqdpCheck2", string.Empty, bit2, defaultBit2, out var newBit2 ) )
|
if( Checkmark( "Model##eqdpCheck2", string.Empty, bit2, defaultBit2, out var newBit2 ) )
|
||||||
{
|
{
|
||||||
editor.Meta.Change( meta with { Entry = Eqdp.FromSlotAndBits( meta.Slot, bit1, newBit2 ) } );
|
editor.Meta.Change( meta with { Entry = Eqdp.FromSlotAndBits( meta.Slot, bit1, newBit2 ) } );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue