From 1813681fac0c0ae3407eb3cbfd2d7e04e95533b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Wed, 3 Nov 2021 00:10:50 +0100 Subject: [PATCH] Move private method below protected --- osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs b/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs index 20c5359320..8136ebbd70 100644 --- a/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs +++ b/osu.Game/Beatmaps/Drawables/Cards/BeatmapCard.cs @@ -247,12 +247,6 @@ namespace osu.Game.Beatmaps.Drawables.Cards FinishTransforms(true); } - private LocalisableString createArtistText() - { - var romanisableArtist = new RomanisableString(beatmapSet.ArtistUnicode, beatmapSet.Artist); - return BeatmapsetsStrings.ShowDetailsByArtist(romanisableArtist); - } - protected override bool OnHover(HoverEvent e) { updateState(); @@ -265,6 +259,12 @@ namespace osu.Game.Beatmaps.Drawables.Cards base.OnHoverLost(e); } + private LocalisableString createArtistText() + { + var romanisableArtist = new RomanisableString(beatmapSet.ArtistUnicode, beatmapSet.Artist); + return BeatmapsetsStrings.ShowDetailsByArtist(romanisableArtist); + } + private void updateState() { float targetWidth = width - height;