mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 19:32:55 +08:00
Move mobile check earlier to avoid unnecessary looping
This commit is contained in:
parent
456916f680
commit
eb5a8284f1
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user