mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-21 23:17:43 +01:00
Remove PalettePlusChecker and config options to disable Advanced Customization and Advanced Dyes.
This commit is contained in:
parent
425c9471fb
commit
528aae7eee
14 changed files with 66 additions and 172 deletions
|
|
@ -38,9 +38,6 @@ public sealed unsafe class AdvancedDyePopup(
|
|||
|
||||
private bool ShouldBeDrawn()
|
||||
{
|
||||
if (!config.UseAdvancedDyes)
|
||||
return false;
|
||||
|
||||
if (_drawIndex is not { Valid: true })
|
||||
return false;
|
||||
|
||||
|
|
@ -58,9 +55,6 @@ public sealed unsafe class AdvancedDyePopup(
|
|||
|
||||
private void DrawButton(MaterialValueIndex index, uint color)
|
||||
{
|
||||
if (!config.UseAdvancedDyes)
|
||||
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