1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 11:02:54 +08:00

Add comment about legacy fallback widths

This commit is contained in:
Dean Herbert 2020-04-01 15:30:51 +09:00
parent 2d6d1a8cc6
commit 9de348235e

View File

@ -179,6 +179,7 @@ namespace osu.Game.Rulesets.Mania.UI
?.Value;
if (width == null)
// only used by default skin (legacy skins get defaults set in LegacyManiaSkinConfiguration)
col.Width = col.IsSpecial ? Column.SPECIAL_COLUMN_WIDTH : Column.COLUMN_WIDTH;
else
col.Width = width.Value;