mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fixed drums not displaying correctly; Fixed typo on a function name
This commit is contained in:
@ -73,27 +73,27 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
leftRim = new QuarterCircle(TaikoInput.LeftRim, touchControlScheme, colours)
|
leftRim = new QuarterCircle(getTaikoActionFromInput(TaikoInput.LeftRim), touchControlScheme, colours)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
Origin = Anchor.BottomRight,
|
Origin = Anchor.BottomRight,
|
||||||
X = -2,
|
X = -2,
|
||||||
},
|
},
|
||||||
rightRim = new QuarterCircle(TaikoInput.RightRim, touchControlScheme, colours)
|
rightRim = new QuarterCircle(getTaikoActionFromInput(TaikoInput.RightRim), touchControlScheme, colours)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
Origin = Anchor.BottomRight,
|
Origin = Anchor.BottomRight,
|
||||||
X = 2,
|
X = 2,
|
||||||
Rotation = 90,
|
Rotation = 90,
|
||||||
},
|
},
|
||||||
leftCentre = new QuarterCircle(TaikoInput.LeftCentre, touchControlScheme, colours)
|
leftCentre = new QuarterCircle(getTaikoActionFromInput(TaikoInput.LeftCentre), touchControlScheme, colours)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
Origin = Anchor.BottomRight,
|
Origin = Anchor.BottomRight,
|
||||||
X = -2,
|
X = -2,
|
||||||
Scale = new Vector2(centre_region),
|
Scale = new Vector2(centre_region),
|
||||||
},
|
},
|
||||||
rightCentre = new QuarterCircle(TaikoInput.RightCentre, touchControlScheme, colours)
|
rightCentre = new QuarterCircle(getTaikoActionFromInput(TaikoInput.RightCentre), touchControlScheme, colours)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
Origin = Anchor.BottomRight,
|
Origin = Anchor.BottomRight,
|
||||||
@ -151,7 +151,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
leftRim.Contains(e.ScreenSpaceMouseDownPosition) || rightRim.Contains(e.ScreenSpaceMouseDownPosition);
|
leftRim.Contains(e.ScreenSpaceMouseDownPosition) || rightRim.Contains(e.ScreenSpaceMouseDownPosition);
|
||||||
|
|
||||||
#pragma warning disable format
|
#pragma warning disable format
|
||||||
private TaikoAction getTaikoActionFromPosition(TaikoInput input)
|
private TaikoAction getTaikoActionFromInput(TaikoInput input)
|
||||||
{
|
{
|
||||||
switch (TaikoTouchControlScheme.DDKK)
|
switch (TaikoTouchControlScheme.DDKK)
|
||||||
{
|
{
|
||||||
@ -204,7 +204,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
else
|
else
|
||||||
input = centreHit ? TaikoInput.RightCentre : TaikoInput.RightRim;
|
input = centreHit ? TaikoInput.RightCentre : TaikoInput.RightRim;
|
||||||
|
|
||||||
return getTaikoActionFromPosition(input);
|
return getTaikoActionFromInput(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void PopIn()
|
protected override void PopIn()
|
||||||
|
Reference in New Issue
Block a user