mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-15 05:04:16 +01:00
Fix text color for customizations on locked designs.
This commit is contained in:
parent
c4bb24a6ec
commit
053998e5e4
1 changed files with 18 additions and 16 deletions
|
|
@ -94,24 +94,26 @@ public partial class CustomizationDrawer
|
|||
using var _ = SetId(index);
|
||||
using var bigGroup = ImRaii.Group();
|
||||
|
||||
using var disabled = ImRaii.Disabled(_locked);
|
||||
if (indexedBy1)
|
||||
using (var disabled = ImRaii.Disabled(_locked))
|
||||
{
|
||||
ListCombo1();
|
||||
ImGui.SameLine();
|
||||
ListInputInt1();
|
||||
}
|
||||
else
|
||||
{
|
||||
ListCombo0();
|
||||
ImGui.SameLine();
|
||||
ListInputInt0();
|
||||
}
|
||||
if (indexedBy1)
|
||||
{
|
||||
ListCombo1();
|
||||
ImGui.SameLine();
|
||||
ListInputInt1();
|
||||
}
|
||||
else
|
||||
{
|
||||
ListCombo0();
|
||||
ImGui.SameLine();
|
||||
ListInputInt0();
|
||||
}
|
||||
|
||||
if (_withApply)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ApplyCheckbox();
|
||||
if (_withApply)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ApplyCheckbox();
|
||||
}
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue