mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Disable input for non-selected blueprints
This commit is contained in:
@ -82,6 +82,9 @@ namespace osu.Game.Rulesets.Edit
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// When not selected, input is only required for the blueprint itself to receive IsHovering
|
||||||
|
protected override bool ShouldBeConsideredForInput(Drawable child) => State == SelectionState.Selected;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Selects this <see cref="SelectionBlueprint"/>, causing it to become visible.
|
/// Selects this <see cref="SelectionBlueprint"/>, causing it to become visible.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Reference in New Issue
Block a user