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

Allow vertical layout for skinnable mod display #32457

Merged
merged 3 commits into from
Mar 19, 2025

Conversation

peppy
Copy link
Member

@peppy peppy commented Mar 19, 2025

Just a quick distraction. Addresses #32421.

osu.2025-03-19.at.06.24.32.mp4

@smoogipoo
Copy link
Contributor

Why are the paddings so ginormous?

@peppy
Copy link
Member Author

peppy commented Mar 19, 2025

Have reduced somewhat:

osu.2025-03-19.at.08.41.50.mp4

@bdach bdach self-requested a review March 19, 2025 10:30
@@ -30,6 +30,9 @@ public partial class SkinnableModDisplay : CompositeDrawable, ISerialisableDrawa
[SettingSource(typeof(SkinnableModDisplayStrings), nameof(SkinnableModDisplayStrings.ExpansionMode), nameof(SkinnableModDisplayStrings.ExpansionModeDescription))]
public Bindable<ExpansionMode> ExpansionModeSetting { get; } = new Bindable<ExpansionMode>();

[SettingSource(typeof(SkinnableModDisplayStrings), nameof(SkinnableModDisplayStrings.DisplayDirection))]
public Bindable<Direction> Direction { get; } = new Bindable<Direction>();
Copy link
Collaborator

Choose a reason for hiding this comment

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

incredibly convenient that the default value of this enum happens to match the pre-existing state so user skins aren't broken

@bdach bdach merged commit aa35ac2 into ppy:master Mar 19, 2025
6 of 10 checks passed
@peppy peppy deleted the mod-display-vertical-flow branch March 20, 2025 02:50
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.

3 participants