Add buttons to remove, enable and disable multiple advanced dyes at once in a design.

This commit is contained in:
Ottermandias 2025-03-03 18:12:42 +01:00
parent b9e4c144c2
commit 3fd6108fa1
2 changed files with 46 additions and 4 deletions

View file

@ -478,7 +478,7 @@ public sealed class DesignManager : DesignEditor
ChangeApplyParameter(design, f, p);
if (materials is { } ma)
foreach (var (key, _) in design.GetMaterialData())
foreach (var (key, _) in design.GetMaterialData().ToArray())
ChangeApplyMaterialValue(design, MaterialValueIndex.FromKey(key), ma);
}