mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Move private method below protected
This commit is contained in:
parent
75e89f17ad
commit
1813681fac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user