mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 15:10:20 +08:00
Move mobile check earlier to avoid unnecessary looping
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user