mirror of
https://github.com/ppy/osu
synced 2025-01-25 15:23:02 +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);
|
FinishTransforms(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private LocalisableString createArtistText()
|
|
||||||
{
|
|
||||||
var romanisableArtist = new RomanisableString(beatmapSet.ArtistUnicode, beatmapSet.Artist);
|
|
||||||
return BeatmapsetsStrings.ShowDetailsByArtist(romanisableArtist);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override bool OnHover(HoverEvent e)
|
protected override bool OnHover(HoverEvent e)
|
||||||
{
|
{
|
||||||
updateState();
|
updateState();
|
||||||
@ -265,6 +259,12 @@ namespace osu.Game.Beatmaps.Drawables.Cards
|
|||||||
base.OnHoverLost(e);
|
base.OnHoverLost(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private LocalisableString createArtistText()
|
||||||
|
{
|
||||||
|
var romanisableArtist = new RomanisableString(beatmapSet.ArtistUnicode, beatmapSet.Artist);
|
||||||
|
return BeatmapsetsStrings.ShowDetailsByArtist(romanisableArtist);
|
||||||
|
}
|
||||||
|
|
||||||
private void updateState()
|
private void updateState()
|
||||||
{
|
{
|
||||||
float targetWidth = width - height;
|
float targetWidth = width - height;
|
||||||
|
Loading…
Reference in New Issue
Block a user