1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-07 06:23:39 +08:00

Close the menu when selecting other object

This commit is contained in:
jkh675
2024-08-06 13:09:48 +08:00
Unverified
parent 22ab6f577c
commit cb877b7675
@@ -61,7 +61,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
public SelectionScaleHandler ScaleHandler { get; private set; }
[Resolved(CanBeNull = true)]
protected OsuContextMenuContainer ContextMenuContainer { get; private set; }
protected OsuContextMenuContainer? ContextMenuContainer { get; private set; }
protected SelectionHandler()
{
@@ -251,6 +251,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
SelectedItems.Add(blueprint.Item);
selectedBlueprints.Add(blueprint);
ContextMenuContainer?.CloseMenu();
}
/// <summary>