1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00
This commit is contained in:
ProgrammaticNajel 2019-01-26 23:10:13 +08:00
parent 0797f5d644
commit 2058604ef3

View File

@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles
base.LoadComplete();
// Fixes a 1-frame position discrepancy due to the first mouse move event happening in the next frame
HitObject.Position = Parent?.ToLocalSpace(GetContainingInputManager().CurrentState.Mouse.Position)?? Vector2.Zero;
HitObject.Position = Parent?.ToLocalSpace(GetContainingInputManager().CurrentState.Mouse.Position) ?? Vector2.Zero;
}
protected override bool OnClick(ClickEvent e)