Fix playfield movement regressing

This commit is contained in:
Dean Herbert
2020-01-21 23:58:51 +09:00
parent 83fa4a9bb3
commit 98aaf38649
2 changed files with 3 additions and 1 deletions

View File

@ -28,5 +28,7 @@ namespace osu.Game.Rulesets.Edit
public override Vector2 SelectionPoint => DrawableObject.ScreenSpaceDrawQuad.Centre;
public override Quad SelectionQuad => DrawableObject.ScreenSpaceDrawQuad;
public override Vector2 GetInstantDelta(Vector2 screenSpacePosition) => DrawableObject.Parent.ToLocalSpace(screenSpacePosition) - DrawableObject.Position;
}
}