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:
parent
4c0bca5c07
commit
9c52d239b4
@ -143,7 +143,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!Pieces.Any(p => p.IsSelected.Value))
|
if (!Pieces.Any(p => p.IsSelected.Value))
|
||||||
return Array.Empty<MenuItem>();
|
return null;
|
||||||
|
|
||||||
return new MenuItem[]
|
return new MenuItem[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user