mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Clear components sidebar unconditionally on every target change
Fixes the working layer dropdown lingering after exiting from a skinnable screen to a non-skinnable one.
This commit is contained in:
parent
9d4bb2ecf7
commit
60cdd3c070
@ -324,6 +324,7 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
foreach (var toolbox in componentsSidebar.OfType<SkinComponentToolbox>())
|
||||
toolbox.Expire();
|
||||
|
||||
componentsSidebar.Clear();
|
||||
SelectedComponents.Clear();
|
||||
|
||||
Debug.Assert(content != null);
|
||||
|
Loading…
Reference in New Issue
Block a user