1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 12:30:11 +08:00

Move mobile check earlier to avoid unnecessary looping

This commit is contained in:
Dean Herbert
2023-12-15 19:15:25 +09:00
Unverified
parent 456916f680
commit eb5a8284f1
+1 -1
View File
@@ -106,7 +106,7 @@ namespace osu.Game.Rulesets.Mania.UI
private void updateMobileSizing()
{
if (!IsLoaded)
if (!IsLoaded || !RuntimeInfo.IsMobile)
return;
for (int i = 0; i < stageDefinition.Columns; i++)