mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 19:52:55 +08:00
Revert styling change
This commit is contained in:
parent
7e24b36f26
commit
edd31bf3aa
@ -430,34 +430,31 @@ namespace osu.Game.Screens.OnlinePlay
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<Drawable> createButtons()
|
private IEnumerable<Drawable> createButtons() => new[]
|
||||||
{
|
{
|
||||||
return new[]
|
showResultsButton = new GrayButton(FontAwesome.Solid.ChartPie)
|
||||||
{
|
{
|
||||||
showResultsButton = new GrayButton(FontAwesome.Solid.ChartPie)
|
Size = new Vector2(30, 30),
|
||||||
{
|
Action = () => RequestResults?.Invoke(Item),
|
||||||
Size = new Vector2(30, 30),
|
Alpha = AllowShowingResults ? 1 : 0,
|
||||||
Action = () => RequestResults?.Invoke(Item),
|
TooltipText = "View results"
|
||||||
Alpha = AllowShowingResults ? 1 : 0,
|
},
|
||||||
TooltipText = "View results"
|
beatmap == null ? Empty() : new PlaylistDownloadButton(beatmap),
|
||||||
},
|
editButton = new PlaylistEditButton
|
||||||
beatmap == null ? Empty() : new PlaylistDownloadButton(beatmap),
|
{
|
||||||
editButton = new PlaylistEditButton
|
Size = new Vector2(30, 30),
|
||||||
{
|
Alpha = AllowEditing ? 1 : 0,
|
||||||
Size = new Vector2(30, 30),
|
Action = () => RequestEdit?.Invoke(Item),
|
||||||
Alpha = AllowEditing ? 1 : 0,
|
TooltipText = "Edit"
|
||||||
Action = () => RequestEdit?.Invoke(Item),
|
},
|
||||||
TooltipText = "Edit"
|
removeButton = new PlaylistRemoveButton
|
||||||
},
|
{
|
||||||
removeButton = new PlaylistRemoveButton
|
Size = new Vector2(30, 30),
|
||||||
{
|
Alpha = AllowDeletion ? 1 : 0,
|
||||||
Size = new Vector2(30, 30),
|
Action = () => RequestDeletion?.Invoke(Item),
|
||||||
Alpha = AllowDeletion ? 1 : 0,
|
TooltipText = "Remove from playlist"
|
||||||
Action = () => RequestDeletion?.Invoke(Item),
|
},
|
||||||
TooltipText = "Remove from playlist"
|
};
|
||||||
},
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override bool OnClick(ClickEvent e)
|
protected override bool OnClick(ClickEvent e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user