1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-11 02:17:19 +08:00

Remove unnecessary V2 suffixes

This commit is contained in:
Dean Herbert 2025-02-12 19:22:57 +09:00
parent d8f3dbf988
commit 3a0464299a
No known key found for this signature in database
6 changed files with 14 additions and 16 deletions

View File

@ -11,12 +11,12 @@ namespace osu.Game.Tests.Visual.SongSelectV2
{
public partial class TestSceneUpdateBeatmapSetButtonV2 : OsuTestScene
{
private UpdateBeatmapSetButtonV2 button = null!;
private UpdateBeatmapSetButton button = null!;
[SetUp]
public void SetUp() => Schedule(() =>
{
Child = button = new UpdateBeatmapSetButtonV2
Child = button = new UpdateBeatmapSetButton
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,

View File

@ -38,7 +38,7 @@ namespace osu.Game.Screens.SelectV2
private ConstrainedIconContainer difficultyIcon = null!;
private OsuSpriteText keyCountText = null!;
private StarRatingDisplay starRatingDisplay = null!;
private TopLocalRankV2 difficultyRank = null!;
private TopLocalRank difficultyRank = null!;
private OsuSpriteText difficultyText = null!;
private OsuSpriteText authorText = null!;
@ -118,7 +118,7 @@ namespace osu.Game.Screens.SelectV2
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
},
difficultyRank = new TopLocalRankV2
difficultyRank = new TopLocalRank
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,

View File

@ -35,7 +35,7 @@ namespace osu.Game.Screens.SelectV2
private OsuSpriteText titleText = null!;
private OsuSpriteText artistText = null!;
private Drawable chevronIcon = null!;
private UpdateBeatmapSetButtonV2 updateButton = null!;
private UpdateBeatmapSetButton updateButton = null!;
private BeatmapSetOnlineStatusPill statusPill = null!;
private DifficultySpectrumDisplay difficultiesDisplay = null!;
@ -98,7 +98,7 @@ namespace osu.Game.Screens.SelectV2
Margin = new MarginPadding { Top = 5f },
Children = new Drawable[]
{
updateButton = new UpdateBeatmapSetButtonV2
updateButton = new UpdateBeatmapSetButton
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,

View File

@ -64,13 +64,13 @@ namespace osu.Game.Screens.SelectV2
private OsuSpriteText titleText = null!;
private OsuSpriteText artistText = null!;
private UpdateBeatmapSetButtonV2 updateButton = null!;
private UpdateBeatmapSetButton updateButton = null!;
private BeatmapSetOnlineStatusPill statusPill = null!;
private ConstrainedIconContainer difficultyIcon = null!;
private FillFlowContainer difficultyLine = null!;
private StarRatingDisplay difficultyStarRating = null!;
private TopLocalRankV2 difficultyRank = null!;
private TopLocalRank difficultyRank = null!;
private OsuSpriteText difficultyKeyCountText = null!;
private OsuSpriteText difficultyName = null!;
private OsuSpriteText difficultyAuthor = null!;
@ -121,7 +121,7 @@ namespace osu.Game.Screens.SelectV2
Margin = new MarginPadding { Top = 5f },
Children = new Drawable[]
{
updateButton = new UpdateBeatmapSetButtonV2
updateButton = new UpdateBeatmapSetButton
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
@ -149,7 +149,7 @@ namespace osu.Game.Screens.SelectV2
Scale = new Vector2(8f / 9f),
Margin = new MarginPadding { Right = 5f },
},
difficultyRank = new TopLocalRankV2
difficultyRank = new TopLocalRank
{
Scale = new Vector2(8f / 11),
Origin = Anchor.CentreLeft,

View File

@ -19,7 +19,7 @@ using Realms;
namespace osu.Game.Screens.SelectV2
{
public partial class TopLocalRankV2 : CompositeDrawable
public partial class TopLocalRank : CompositeDrawable
{
private BeatmapInfo? beatmap;
@ -48,9 +48,7 @@ namespace osu.Game.Screens.SelectV2
private readonly UpdateableRank updateable;
public ScoreRank? DisplayedRank => updateable.Rank;
public TopLocalRankV2(BeatmapInfo? beatmap = null)
public TopLocalRank(BeatmapInfo? beatmap = null)
{
AutoSizeAxes = Axes.Both;

View File

@ -22,7 +22,7 @@ using osuTK.Graphics;
namespace osu.Game.Screens.SelectV2
{
public partial class UpdateBeatmapSetButtonV2 : OsuAnimatedButton
public partial class UpdateBeatmapSetButton : OsuAnimatedButton
{
private BeatmapSetInfo? beatmapSet;
@ -53,7 +53,7 @@ namespace osu.Game.Screens.SelectV2
[Resolved]
private IDialogOverlay? dialogOverlay { get; set; }
public UpdateBeatmapSetButtonV2()
public UpdateBeatmapSetButton()
{
Size = new Vector2(75f, 22f);
}