From b3606f4a21334bea4fab2b5e22a31de52759b24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Sat, 20 Nov 2021 18:36:39 +0100 Subject: [PATCH] Rename `{Play -> GoToBeatmap}Button` --- osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs | 3 +-- .../Cards/Buttons/{PlayButton.cs => GoToBeatmapButton.cs} | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) rename osu.Game/Beatmaps/Drawables/Cards/Buttons/{PlayButton.cs => GoToBeatmapButton.cs} (92%) diff --git a/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs b/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs index e48b21cdb6..48f8e7b9c5 100644 --- a/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs +++ b/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs @@ -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 diff --git a/osu.Game/Beatmaps/Drawables/Cards/Buttons/PlayButton.cs b/osu.Game/Beatmaps/Drawables/Cards/Buttons/GoToBeatmapButton.cs similarity index 92% rename from osu.Game/Beatmaps/Drawables/Cards/Buttons/PlayButton.cs rename to osu.Game/Beatmaps/Drawables/Cards/Buttons/GoToBeatmapButton.cs index be964e306a..793c02d9c4 100644 --- a/osu.Game/Beatmaps/Drawables/Cards/Buttons/PlayButton.cs +++ b/osu.Game/Beatmaps/Drawables/Cards/Buttons/GoToBeatmapButton.cs @@ -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 = new Bindable(); - public PlayButton(APIBeatmapSet beatmapSet) + public GoToBeatmapButton(APIBeatmapSet beatmapSet) { this.beatmapSet = beatmapSet;