Allow BlueprintContainer and SelectionHandler to receive input outside bounds

This commit is contained in:
Salman Ahmed
2022-06-14 00:19:15 +03:00
parent 9fc04924eb
commit c49b8e4a5c
3 changed files with 14 additions and 2 deletions

View File

@ -97,6 +97,13 @@ namespace osu.Game.Screens.Edit.Compose.Components
#region User Input Handling
/// <remarks>
/// Positional input must be received outside the container's bounds,
/// in order to handle blueprints which are partially offscreen.
/// </remarks>
/// <seealso cref="BlueprintContainer{T}.ReceivePositionalInputAt"/>
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true;
/// <summary>
/// Handles the selected items being moved.
/// </summary>