-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from Altenhh/dependabot/nuget/ppy.osu.Game-20…
…21.523.0 Bump ppy.osu.Game from 2021.514.0 to 2021.523.0
- Loading branch information
Showing
8 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
osu.Game.Rulesets.Tau/Edit/Blueprints/SliderSelectionBlueprint.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using osu.Framework.Graphics.Primitives; | ||
using osu.Game.Rulesets.Tau.Objects; | ||
using osu.Game.Rulesets.Tau.Objects.Drawables; | ||
using osuTK; | ||
|
||
namespace osu.Game.Rulesets.Tau.Edit.Blueprints | ||
{ | ||
public class SliderSelectionBlueprint : TauSelectionBlueprint<Slider> | ||
{ | ||
protected new DrawableSlider DrawableObject => (DrawableSlider)base.DrawableObject; | ||
|
||
public SliderSelectionBlueprint(Slider hitObject) | ||
: base(hitObject) | ||
{ | ||
} | ||
|
||
protected override void Update() | ||
{ | ||
base.Update(); | ||
} | ||
|
||
public override Vector2 ScreenSpaceSelectionPoint => DrawableObject.ScreenSpaceDrawQuad.Centre; | ||
|
||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => false; | ||
|
||
public override Quad SelectionQuad => DrawableObject.ScreenSpaceDrawQuad.AABB; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters