mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-30 04:13:43 +01:00
Change mousewheel to ctrl, current material state.
This commit is contained in:
parent
42ac507b86
commit
b5b9289dc2
20 changed files with 537 additions and 296 deletions
|
|
@ -174,6 +174,25 @@ public class DesignPanel(
|
|||
_parameterDrawer.Draw(_manager, _selector.Selected!);
|
||||
}
|
||||
|
||||
private void DrawMaterialValues()
|
||||
{
|
||||
if (!_config.UseAdvancedParameters)
|
||||
return;
|
||||
|
||||
using var h = ImRaii.CollapsingHeader("Advanced Dyes");
|
||||
if (!h)
|
||||
return;
|
||||
|
||||
foreach (var ((key, value), i) in _selector.Selected!.Materials.WithIndex())
|
||||
{
|
||||
using var id = ImRaii.PushId(i);
|
||||
ImGui.TextUnformatted($"{key:X16}");
|
||||
ImGui.SameLine();
|
||||
var enabled = value.Enabled;
|
||||
ImGui.Checkbox("Enabled", ref enabled);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawCustomizeApplication()
|
||||
{
|
||||
using var id = ImRaii.PushId("Customizations");
|
||||
|
|
@ -365,6 +384,7 @@ public class DesignPanel(
|
|||
DrawCustomize();
|
||||
DrawEquipment();
|
||||
DrawCustomizeParameters();
|
||||
DrawMaterialValues();
|
||||
_designDetails.Draw();
|
||||
DrawApplicationRules();
|
||||
_modAssociations.Draw();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue