1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:52:55 +08:00

Revert "Constrain difficulty icon tooltip to internal accessibility"

This reverts commit 4a590a041c.
This commit is contained in:
Salman Ahmed 2021-08-31 20:57:47 +03:00
parent 4a590a041c
commit cd356b8eae

View File

@ -14,7 +14,7 @@ using osuTK;
namespace osu.Game.Beatmaps.Drawables namespace osu.Game.Beatmaps.Drawables
{ {
internal class DifficultyIconTooltip : VisibilityContainer, ITooltip<DifficultyIconTooltipContent> public class DifficultyIconTooltip : VisibilityContainer, ITooltip<DifficultyIconTooltipContent>
{ {
private readonly OsuSpriteText difficultyName, starRating; private readonly OsuSpriteText difficultyName, starRating;
private readonly Box background; private readonly Box background;
@ -107,7 +107,7 @@ namespace osu.Game.Beatmaps.Drawables
protected override void PopOut() => this.FadeOut(200, Easing.OutQuint); protected override void PopOut() => this.FadeOut(200, Easing.OutQuint);
} }
internal class DifficultyIconTooltipContent public class DifficultyIconTooltipContent
{ {
public readonly BeatmapInfo Beatmap; public readonly BeatmapInfo Beatmap;
public readonly IBindable<StarDifficulty> Difficulty; public readonly IBindable<StarDifficulty> Difficulty;