mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Only accept input while hovered
This commit is contained in:
@ -144,6 +144,9 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
if (!Pieces.Any(p => p.IsHovered))
|
||||||
|
return null;
|
||||||
|
|
||||||
int selectedPoints = Pieces.Count(p => p.IsSelected.Value);
|
int selectedPoints = Pieces.Count(p => p.IsSelected.Value);
|
||||||
|
|
||||||
if (selectedPoints == 0)
|
if (selectedPoints == 0)
|
||||||
|
Reference in New Issue
Block a user