mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 17:12:56 +08:00
Avoid unnecessarily handling two skin changed events when making mutable skin
This commit is contained in:
parent
7d756d0de2
commit
16e69b08a1
@ -401,6 +401,10 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
|
||||
private void skinChanged()
|
||||
{
|
||||
if (skins.EnsureMutableSkin())
|
||||
// Another skin changed event will arrive which will complete the process.
|
||||
return;
|
||||
|
||||
headerText.Clear();
|
||||
|
||||
headerText.AddParagraph(SkinEditorStrings.SkinEditor, cp => cp.Font = OsuFont.Default.With(size: 16));
|
||||
|
Loading…
Reference in New Issue
Block a user