Move private method below protected

This commit is contained in:
Bartłomiej Dach 2021-11-03 00:10:50 +01:00
parent 75e89f17ad
commit 1813681fac
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -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;