1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Merge pull request #25063 from peppy/move-download-button

Move playlist item download button to left
This commit is contained in:
Bartłomiej Dach 2023-10-09 10:01:15 +02:00 committed by GitHub
commit ca217094d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -456,6 +456,7 @@ namespace osu.Game.Screens.OnlinePlay
private IEnumerable<Drawable> createButtons() => new[] private IEnumerable<Drawable> createButtons() => new[]
{ {
beatmap == null ? Empty() : new PlaylistDownloadButton(beatmap),
showResultsButton = new GrayButton(FontAwesome.Solid.ChartPie) showResultsButton = new GrayButton(FontAwesome.Solid.ChartPie)
{ {
Size = new Vector2(30, 30), Size = new Vector2(30, 30),
@ -463,7 +464,6 @@ namespace osu.Game.Screens.OnlinePlay
Alpha = AllowShowingResults ? 1 : 0, Alpha = AllowShowingResults ? 1 : 0,
TooltipText = "View results" TooltipText = "View results"
}, },
beatmap == null ? Empty() : new PlaylistDownloadButton(beatmap),
editButton = new PlaylistEditButton editButton = new PlaylistEditButton
{ {
Size = new Vector2(30, 30), Size = new Vector2(30, 30),