mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Revert "Constrain difficulty icon tooltip to internal
accessibility"
This reverts commit 4a590a041c
.
This commit is contained in:
parent
4a590a041c
commit
cd356b8eae
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user