1
0
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:
kongehund 2024-12-11 13:19:11 +01:00
parent 4e4a99decc
commit 9fa44bc135

View File

@ -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