mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Only accept input while hovered
This commit is contained in:
parent
d835def4ab
commit
031b686ee9
@ -144,6 +144,9 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!Pieces.Any(p => p.IsHovered))
|
||||
return null;
|
||||
|
||||
int selectedPoints = Pieces.Count(p => p.IsSelected.Value);
|
||||
|
||||
if (selectedPoints == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user