mirror of
https://github.com/ppy/osu.git
synced 2026-05-28 04:14:26 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user