mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Additional fixes for flow ordering after framework changes
This commit is contained in:
@ -95,7 +95,7 @@ namespace osu.Game.Screens.Select.Options
|
||||
/// </param>
|
||||
public void AddButton(string firstLine, string secondLine, FontAwesome icon, Color4 colour, Action action, Key? hotkey = null, float depth = 0)
|
||||
{
|
||||
buttonsContainer.Add(new BeatmapOptionsButton
|
||||
var button = new BeatmapOptionsButton
|
||||
{
|
||||
FirstLineText = firstLine,
|
||||
SecondLineText = secondLine,
|
||||
@ -108,7 +108,10 @@ namespace osu.Game.Screens.Select.Options
|
||||
action?.Invoke();
|
||||
},
|
||||
HotKey = hotkey
|
||||
});
|
||||
};
|
||||
|
||||
buttonsContainer.Add(button);
|
||||
buttonsContainer.SetLayoutPosition(button, depth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user