mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Pass down snap result and remove local TimeAt usage
This commit is contained in:
@ -71,7 +71,7 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
base.Update();
|
||||
|
||||
currentBlueprint.UpdatePosition(InputManager.CurrentState.Mouse.Position);
|
||||
currentBlueprint.UpdatePosition(new SnapResult(InputManager.CurrentState.Mouse.Position, null));
|
||||
}
|
||||
|
||||
public override void Add(Drawable drawable)
|
||||
@ -81,7 +81,7 @@ namespace osu.Game.Tests.Visual
|
||||
if (drawable is PlacementBlueprint blueprint)
|
||||
{
|
||||
blueprint.Show();
|
||||
blueprint.UpdatePosition(InputManager.CurrentState.Mouse.Position);
|
||||
blueprint.UpdatePosition(new SnapResult(InputManager.CurrentState.Mouse.Position, null));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user