mirror of
https://github.com/ppy/osu
synced 2024-12-27 09:23:15 +00: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:
commit
34237fd05e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user