1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 10:47:28 +08:00

Return null to allow passthrough

This commit is contained in:
smoogipoo 2019-11-13 16:56:48 +09:00
parent 4c0bca5c07
commit 9c52d239b4

View File

@ -143,7 +143,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
get
{
if (!Pieces.Any(p => p.IsSelected.Value))
return Array.Empty<MenuItem>();
return null;
return new MenuItem[]
{