Fix side overlay offsetting not affecting fullscreen overlays

This commit is contained in:
Salman Ahmed 2022-05-06 21:42:20 +03:00
parent 404798395c
commit 049fed42e2

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;
MenuCursorContainer.CanShowCursor = (ScreenStack.CurrentScreen as IOsuScreen)?.CursorVisible ?? false;
}