mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 07:02:54 +08:00
Fix catcher not consdiering allowable catch range
This commit is contained in:
parent
0a8a13f529
commit
2deaae270c
@ -34,48 +34,51 @@ namespace osu.Game.Rulesets.Catch.Skinning.Argon
|
|||||||
new Circle
|
new Circle
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
|
Width = Catcher.ALLOWED_CATCH_RANGE,
|
||||||
},
|
},
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
|
Name = "long line left",
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreRight,
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
Alpha = 0.25f,
|
Alpha = 0.25f,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
X = -2,
|
|
||||||
Width = 20,
|
Width = 20,
|
||||||
Height = 1.8f,
|
Height = 1.8f,
|
||||||
},
|
},
|
||||||
new Circle
|
new Circle
|
||||||
{
|
{
|
||||||
|
Name = "bumper left",
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreLeft,
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
X = -2,
|
Width = (1 - Catcher.ALLOWED_CATCH_RANGE) / 2,
|
||||||
Width = 15 / 170f,
|
|
||||||
Height = 4,
|
Height = 4,
|
||||||
},
|
},
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
|
Name = "long line right",
|
||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
Alpha = 0.25f,
|
Alpha = 0.25f,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
X = 2,
|
|
||||||
Width = 20,
|
Width = 20,
|
||||||
Height = 1.8f,
|
Height = 1.8f,
|
||||||
},
|
},
|
||||||
new Circle
|
new Circle
|
||||||
{
|
{
|
||||||
|
Name = "bumper right",
|
||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreRight,
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
X = 2,
|
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Width = 15 / 170f,
|
Width = (1 - Catcher.ALLOWED_CATCH_RANGE) / 2,
|
||||||
Height = 4,
|
Height = 4,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user