mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-22 23:47:45 +01:00
Make all panels configurable.
This commit is contained in:
parent
c96f009fb4
commit
6e685b96d1
11 changed files with 176 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue