Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stage line alignment in mania not matching stable #30590

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

frenzibyte
Copy link
Member

Before:
CleanShot 2024-11-12 at 04 08 43

After:
CleanShot 2024-11-12 at 04 07 32

I guess this comes at the caveat that some lines lose a bit of thickness, but it matches stable anyway.

@@ -54,7 +54,8 @@ private void load(ISkinSource skin, StageDefinition stageDefinition)
},
columnBackgrounds = new ColumnFlow<Drawable>(stageDefinition)
{
RelativeSizeAxes = Axes.Y
RelativeSizeAxes = Axes.Y,
Masking = false,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Masking is disabled here because the right line of the last column exceeds the flow's bounds (correctly so).

@@ -126,8 +127,8 @@ private void load(ISkinSource skin)
},
new Container
{
X = isLastColumn ? -0.16f : 0,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part also comes from stable (x1.6), wouldn't hurt to include it. See stable reference.

@smoogipoo smoogipoo merged commit 5ce230b into ppy:master Nov 13, 2024
10 checks passed
@frenzibyte frenzibyte deleted the fix-mania-stage-line-alignment branch November 13, 2024 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants