mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add selection mask testcases
# Conflicts: # osu.Game/Tests/Visual/SelectionBlueprintTestCase.cs
This commit is contained in:
@ -29,9 +29,12 @@ namespace osu.Game.Tests.Visual
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
base.Content.Add(blueprint = CreateBlueprint());
|
||||
blueprint = CreateBlueprint();
|
||||
blueprint.Depth = float.MinValue;
|
||||
blueprint.SelectionRequested += (_, __) => blueprint.Select();
|
||||
|
||||
Add(blueprint);
|
||||
|
||||
AddStep("Select", () => blueprint.Select());
|
||||
AddStep("Deselect", () => blueprint.Deselect());
|
||||
}
|
||||
|
Reference in New Issue
Block a user