Merge pull request #12507 from peppy/fix-cursor-position-rotated

Fix click-to-resume cursor location being incorrect when playfield is transformed
This commit is contained in:
Dan Balasescu 2021-04-21 10:29:35 +09:00 committed by GitHub
commit 397df41570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Osu.UI
base.PopIn();
GameplayCursor.ActiveCursor.Hide();
cursorScaleContainer.MoveTo(GameplayCursor.ActiveCursor.Position);
cursorScaleContainer.Position = ToLocalSpace(GameplayCursor.ActiveCursor.ScreenSpaceDrawQuad.Centre);
clickToResumeCursor.Appear();
if (localCursorContainer == null)