mirror of
https://github.com/osukey/osukey.git
synced 2025-05-01 11:47:18 +09:00
Added a comment and fixed some wonky formatting
This commit is contained in:
parent
e3d14db285
commit
b694e0d441
@ -22,7 +22,7 @@ using osuTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Rulesets.Taiko.UI
|
namespace osu.Game.Rulesets.Taiko.UI
|
||||||
{
|
{
|
||||||
using TaikoInput = TaikoAction;
|
using TaikoInput = TaikoAction; // Functionally identical to TaikoAction, it's just a readability thing
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An overlay that captures and displays osu!taiko mouse and touch input.
|
/// An overlay that captures and displays osu!taiko mouse and touch input.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -196,8 +196,8 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
}
|
}
|
||||||
return TaikoAction.LeftCentre;
|
return TaikoAction.LeftCentre;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma warning restore format
|
#pragma warning restore format
|
||||||
|
|
||||||
private TaikoAction getTaikoActionFromPosition(Vector2 inputPosition)
|
private TaikoAction getTaikoActionFromPosition(Vector2 inputPosition)
|
||||||
{
|
{
|
||||||
bool centreHit = leftCentre.Contains(inputPosition) || rightCentre.Contains(inputPosition);
|
bool centreHit = leftCentre.Contains(inputPosition) || rightCentre.Contains(inputPosition);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user