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
commit 34237fd05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}