Fix deleting skin elements not saving out to skin

Closes https://github.com/ppy/osu/issues/12786.
This commit is contained in:
Dean Herbert
2021-05-14 16:03:22 +09:00
parent 1d4bcbaa6e
commit d09da02673
4 changed files with 42 additions and 16 deletions

View File

@ -37,8 +37,15 @@ namespace osu.Game.Skinning
void Reload();
/// <summary>
/// Add the provided item to this target.
/// Add a new skinnable component to this target.
/// </summary>
/// <param name="drawable">The component to add.</param>
void Add(ISkinnableDrawable drawable);
/// <summary>
/// Remove an existing skinnable component to this target.
/// </summary>
/// <param name="component">The component to add.</param>
public void Remove(ISkinnableDrawable component);
}
}