mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 22:30:53 +08:00
Use above-1 offset instead for more correct feeling parallax
This commit is contained in:
+1
-1
@@ -1153,7 +1153,7 @@ namespace osu.Game
|
||||
horizontalOffset += (Content.ToLocalSpace(Notifications.ScreenSpaceDrawQuad.TopLeft).X - Content.DrawWidth) * SIDE_OVERLAY_OFFSET_RATIO;
|
||||
|
||||
ScreenOffsetContainer.X = horizontalOffset;
|
||||
overlayContent.X = horizontalOffset * 0.8f;
|
||||
overlayContent.X = horizontalOffset * 1.2f;
|
||||
|
||||
MenuCursorContainer.CanShowCursor = (ScreenStack.CurrentScreen as IOsuScreen)?.CursorVisible ?? false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user