mirror of
https://github.com/ppy/osu
synced 2025-02-20 20:47:09 +00:00
Removed the IgnoreTooltip property
This commit is contained in:
parent
a491710fe4
commit
71e59bc9e7
@ -36,7 +36,6 @@ namespace osu.Game.Tests.Visual
|
||||
private class Icon : Container, IHasTooltip
|
||||
{
|
||||
public string TooltipText { get; }
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public Icon(FontAwesome fa)
|
||||
{
|
||||
|
@ -103,7 +103,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
private class CapsWarning : SpriteIcon, IHasTooltip
|
||||
{
|
||||
public string TooltipText => @"Caps lock is active";
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public CapsWarning()
|
||||
{
|
||||
|
@ -46,7 +46,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
return Current.Value.ToString();
|
||||
}
|
||||
}
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
private Color4 accentColour;
|
||||
public Color4 AccentColour
|
||||
|
@ -126,7 +126,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
private class ClickableArea : OsuClickableContainer, IHasTooltip
|
||||
{
|
||||
public string TooltipText => @"View Profile";
|
||||
public bool IgnoreTooltip => false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
private readonly OsuSpriteText value;
|
||||
|
||||
public string TooltipText => name;
|
||||
public bool IgnoreTooltip => false;
|
||||
public string Value
|
||||
{
|
||||
get { return value.Text; }
|
||||
|
@ -531,7 +531,6 @@ namespace osu.Game.Overlays.Profile
|
||||
public class ProfileLink : LinkText, IHasTooltip
|
||||
{
|
||||
public string TooltipText => "View Profile in Browser";
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public ProfileLink(User user)
|
||||
{
|
||||
|
@ -185,7 +185,6 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
private class MetadataContainer : OsuHoverContainer, IHasTooltip
|
||||
{
|
||||
public string TooltipText { get; set; }
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public MetadataContainer(string title, string artist)
|
||||
{
|
||||
|
@ -158,7 +158,6 @@ namespace osu.Game.Overlays.Settings
|
||||
}
|
||||
|
||||
public string TooltipText => "Revert to default";
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public override bool HandleInput => true;
|
||||
|
||||
|
@ -28,8 +28,7 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
private readonly ModType type;
|
||||
|
||||
public string TooltipText { get; }
|
||||
public virtual bool IgnoreTooltip { get; }
|
||||
public virtual string TooltipText { get; }
|
||||
|
||||
public ModIcon(Mod mod)
|
||||
{
|
||||
@ -38,7 +37,6 @@ namespace osu.Game.Rulesets.UI
|
||||
type = mod.Type;
|
||||
|
||||
TooltipText = mod.Name;
|
||||
IgnoreTooltip = false;
|
||||
|
||||
Size = new Vector2(size);
|
||||
|
||||
|
@ -16,7 +16,6 @@ namespace osu.Game.Screens.Multiplayer
|
||||
private readonly GameType type;
|
||||
|
||||
public string TooltipText => type.Name;
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public DrawableGameType(GameType type)
|
||||
{
|
||||
|
@ -384,7 +384,6 @@ namespace osu.Game.Screens.Multiplayer
|
||||
private readonly User user;
|
||||
|
||||
public string TooltipText => user.Username;
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public UserTile(User user)
|
||||
{
|
||||
|
@ -144,7 +144,6 @@ namespace osu.Game.Tests.Visual
|
||||
private bool isSelected;
|
||||
|
||||
public string TooltipText => text.Text;
|
||||
public bool IgnoreTooltip => false;
|
||||
|
||||
public BeatmapDisplay(BeatmapInfo beatmap)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user