mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Tiny refactor
This commit is contained in:
@ -149,6 +149,8 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
||||
private double velocityFrameLength;
|
||||
private Vector2 totalPosDifference;
|
||||
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true;
|
||||
|
||||
protected override bool OnMouseMove(MouseMoveEvent e)
|
||||
{
|
||||
if (cursorScreenPosition == null)
|
||||
@ -174,8 +176,6 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
||||
return base.OnMouseMove(e);
|
||||
}
|
||||
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true;
|
||||
|
||||
private void resetVelocityCalculation()
|
||||
{
|
||||
cursorScreenPosition = null;
|
||||
|
Reference in New Issue
Block a user