mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Make FlowContainer insertion cleaner
This commit is contained in:
@ -46,8 +46,7 @@ namespace osu.Game.Overlays.Settings
|
||||
if (text == null)
|
||||
{
|
||||
// construct lazily for cases where the label is not needed (may be provided by the Control).
|
||||
Add(text = new OsuSpriteText());
|
||||
FlowContent.SetLayoutPosition(text, -1);
|
||||
FlowContent.Insert(-1, text = new OsuSpriteText());
|
||||
}
|
||||
|
||||
text.Text = value;
|
||||
|
Reference in New Issue
Block a user