1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 06:32:55 +08:00

Change MinimumColumnWidth to remove setter

This commit is contained in:
Dean Herbert 2023-02-13 17:50:32 +09:00
parent ca768ca446
commit 55358d36c8

View File

@ -59,12 +59,6 @@ namespace osu.Game.Skinning
ColumnWidth.AsSpan().Fill(DEFAULT_COLUMN_SIZE); ColumnWidth.AsSpan().Fill(DEFAULT_COLUMN_SIZE);
} }
private float? minimumColumnWidth; public float MinimumColumnWidth => ColumnWidth.Min();
public float MinimumColumnWidth
{
get => minimumColumnWidth ?? ColumnWidth.Min();
set => minimumColumnWidth = value;
}
} }
} }