mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 04:23:21 +08:00
Close object context menu on tool change
This commit is contained in:
parent
4e4a99decc
commit
9fa44bc135
@ -531,6 +531,9 @@ namespace osu.Game.Rulesets.Edit
|
||||
|
||||
if (!(tool is SelectTool))
|
||||
EditorBeatmap.SelectedHitObjects.Clear();
|
||||
|
||||
// Prevent object context menu from staying open.
|
||||
GetContainingFocusManager()?.ChangeFocus(null);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user