mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Fix beatmap details not displaying
This commit is contained in:
parent
3322eb47b3
commit
6d24bde72b
@ -327,11 +327,6 @@ namespace osu.Game.Screens.Select
|
|||||||
TextSize = 14,
|
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)
|
private void setTextAsync(string text)
|
||||||
{
|
{
|
||||||
LoadComponentAsync(new OsuTextFlowContainer(s => s.TextSize = 14)
|
LoadComponentAsync(new OsuTextFlowContainer(s => s.TextSize = 14)
|
||||||
|
Loading…
Reference in New Issue
Block a user