Make all panels configurable.

This commit is contained in:
Ottermandias 2025-03-03 16:31:09 +01:00
parent c96f009fb4
commit 6e685b96d1
11 changed files with 176 additions and 25 deletions

View file

@ -55,6 +55,9 @@ public sealed unsafe class AdvancedDyePopup(
private void DrawButton(MaterialValueIndex index, uint color)
{
if (config.HideDesignPanel.HasFlag(DesignPanelFlag.AdvancedDyes))
return;
ImGui.SameLine();
using var id = ImUtf8.PushId(index.SlotIndex | ((int)index.DrawObject << 8));
var isOpen = index == _drawIndex;