1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 18:21:17 +08:00

Merge pull request #3568 from smoogipoo/fix-beatmap-details

Fix beatmap details not displaying
This commit is contained in:
Dean Herbert
2018-10-10 20:14:58 +09:00
committed by GitHub
Unverified
+2 -5
View File
@@ -327,11 +327,6 @@ namespace osu.Game.Screens.Select
TextSize = 14,
},
},
textFlow = new OsuTextFlowContainer
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
},
},
};
}
@@ -350,6 +345,8 @@ namespace osu.Game.Screens.Select
}
}
public override bool IsPresent => base.IsPresent || textFlow == null; // Visibility is updated in the LoadComponentAsync callback
private void setTextAsync(string text)
{
LoadComponentAsync(new OsuTextFlowContainer(s => s.TextSize = 14)