1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 06:09:55 +08:00

Merge pull request #18125 from frenzibyte/fix-overlay-horizontal-offset-overlays

Fix side overlay offset not affecting fullscreen overlays
This commit is contained in:
Dean Herbert
2022-05-07 14:02:22 +09:00
committed by GitHub
Unverified
+1
View File
@@ -1153,6 +1153,7 @@ namespace osu.Game
horizontalOffset += (Content.ToLocalSpace(Notifications.ScreenSpaceDrawQuad.TopLeft).X - Content.DrawWidth) * SIDE_OVERLAY_OFFSET_RATIO;
ScreenOffsetContainer.X = horizontalOffset;
overlayContent.X = horizontalOffset * 1.2f;
MenuCursorContainer.CanShowCursor = (ScreenStack.CurrentScreen as IOsuScreen)?.CursorVisible ?? false;
}