mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Fix skin selection not clearing on exit to non-skinnable screen
This commit is contained in:
parent
3dd3b5e77a
commit
15409b9c15
@ -323,13 +323,13 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
foreach (var toolbox in componentsSidebar.OfType<SkinComponentToolbox>())
|
||||
toolbox.Expire();
|
||||
|
||||
SelectedComponents.Clear();
|
||||
|
||||
if (target.NewValue == null)
|
||||
return;
|
||||
|
||||
Debug.Assert(content != null);
|
||||
|
||||
SelectedComponents.Clear();
|
||||
|
||||
var skinComponentsContainer = getTarget(target.NewValue);
|
||||
|
||||
if (skinComponentsContainer == null)
|
||||
|
Loading…
Reference in New Issue
Block a user