From 704f5a6de3a4dba381efc0dc62a77ce1cb166f7a Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 2 Nov 2023 19:40:20 +0900 Subject: [PATCH] Adjust sizing slightly to ensure we stay within 1366 limits --- .../Skinning/Argon/ManiaArgonSkinTransformer.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/osu.Game.Rulesets.Mania/Skinning/Argon/ManiaArgonSkinTransformer.cs b/osu.Game.Rulesets.Mania/Skinning/Argon/ManiaArgonSkinTransformer.cs index f74b7f1d02..ca7f84cb4d 100644 --- a/osu.Game.Rulesets.Mania/Skinning/Argon/ManiaArgonSkinTransformer.cs +++ b/osu.Game.Rulesets.Mania/Skinning/Argon/ManiaArgonSkinTransformer.cs @@ -101,13 +101,17 @@ public ManiaArgonSkinTransformer(ISkin skin, IBeatmap beatmap) case LegacyManiaSkinConfigurationLookups.ColumnWidth: - float width = 60; + float width; + + bool isSpecialColumn = stage.IsSpecialColumn(columnIndex); // Best effort until we have better mobile support. if (RuntimeInfo.IsMobile) - width = 180 * Math.Min(1, 7f / beatmap.TotalColumns); + width = 170 * Math.Min(1, 7f / beatmap.TotalColumns) * (isSpecialColumn ? 1.8f : 1); + else + width = 60 * (isSpecialColumn ? 2 : 1); - return SkinUtils.As(new Bindable(stage.IsSpecialColumn(columnIndex) ? width * 2 : width)); + return SkinUtils.As(new Bindable(width)); case LegacyManiaSkinConfigurationLookups.ColumnBackgroundColour: