mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Constrain difficulty icon tooltip to internal
accessibility
This commit is contained in:
parent
69c23a2371
commit
4a590a041c
@ -14,7 +14,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Beatmaps.Drawables
|
||||
{
|
||||
public class DifficultyIconTooltip : VisibilityContainer, ITooltip<DifficultyIconTooltipContent>
|
||||
internal class DifficultyIconTooltip : VisibilityContainer, ITooltip<DifficultyIconTooltipContent>
|
||||
{
|
||||
private readonly OsuSpriteText difficultyName, starRating;
|
||||
private readonly Box background;
|
||||
@ -107,7 +107,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
protected override void PopOut() => this.FadeOut(200, Easing.OutQuint);
|
||||
}
|
||||
|
||||
public class DifficultyIconTooltipContent
|
||||
internal class DifficultyIconTooltipContent
|
||||
{
|
||||
public readonly BeatmapInfo Beatmap;
|
||||
public readonly IBindable<StarDifficulty> Difficulty;
|
||||
|
Loading…
Reference in New Issue
Block a user