mirror of
https://github.com/ppy/osu.git
synced 2025-02-28 20:13:00 +08:00
Rename {Play -> GoToBeatmap}Button
This commit is contained in:
parent
6e5918a100
commit
b3606f4a21
@ -25,7 +25,6 @@ using osu.Game.Overlays.BeatmapListing.Panels;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osuTK.Graphics;
|
||||
using DownloadButton = osu.Game.Beatmaps.Drawables.Cards.Buttons.DownloadButton;
|
||||
using PlayButton = osu.Game.Beatmaps.Drawables.Cards.Buttons.PlayButton;
|
||||
|
||||
namespace osu.Game.Beatmaps.Drawables.Cards
|
||||
{
|
||||
@ -144,7 +143,7 @@ namespace osu.Game.Beatmaps.Drawables.Cards
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre
|
||||
},
|
||||
new PlayButton(beatmapSet)
|
||||
new GoToBeatmapButton(beatmapSet)
|
||||
{
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre
|
||||
|
@ -12,12 +12,12 @@ using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
|
||||
{
|
||||
public class PlayButton : BeatmapCardIconButton
|
||||
public class GoToBeatmapButton : BeatmapCardIconButton
|
||||
{
|
||||
private readonly APIBeatmapSet beatmapSet;
|
||||
private readonly Bindable<DownloadState> downloadState = new Bindable<DownloadState>();
|
||||
|
||||
public PlayButton(APIBeatmapSet beatmapSet)
|
||||
public GoToBeatmapButton(APIBeatmapSet beatmapSet)
|
||||
{
|
||||
this.beatmapSet = beatmapSet;
|
||||
|
Loading…
Reference in New Issue
Block a user