Make customize buttons not change advanced customization to On by default.

This commit is contained in:
Ottermandias 2025-03-09 13:37:27 +01:00
parent c9f00c6369
commit 773682838e
2 changed files with 2 additions and 2 deletions

View file

@ -386,7 +386,7 @@ public class DesignPanel
if (equip is null && customize is null) if (equip is null && customize is null)
return; return;
_manager.ChangeApplyMulti(_selector.Selected!, equip, customize, equip, customize, null, equip, equip, equip); _manager.ChangeApplyMulti(_selector.Selected!, equip, customize, equip, customize.HasValue && !customize.Value ? false : null, null, equip, equip, equip);
if (equip.HasValue) if (equip.HasValue)
{ {
_manager.ChangeApplyMeta(_selector.Selected!, MetaIndex.HatState, equip.Value); _manager.ChangeApplyMeta(_selector.Selected!, MetaIndex.HatState, equip.Value);

View file

@ -454,7 +454,7 @@ public class MultiDesignPanel(DesignFileSystemSelector selector, DesignManager e
foreach (var design in selector.SelectedPaths.OfType<DesignFileSystem.Leaf>().Select(l => l.Value)) foreach (var design in selector.SelectedPaths.OfType<DesignFileSystem.Leaf>().Select(l => l.Value))
{ {
editor.ChangeApplyMulti(design, equip, customize, equip, customize, null, equip, equip, equip); editor.ChangeApplyMulti(design, equip, customize, equip, customize.HasValue && !customize.Value ? false : null, null, equip, equip, equip);
if (equip.HasValue) if (equip.HasValue)
{ {
editor.ChangeApplyMeta(design, MetaIndex.HatState, equip.Value); editor.ChangeApplyMeta(design, MetaIndex.HatState, equip.Value);