Removed the IgnoreTooltip property

This commit is contained in:
Ninjaprawn 2017-12-16 20:16:40 +11:00
parent a491710fe4
commit 71e59bc9e7
12 changed files with 1 additions and 14 deletions

View File

@ -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)
{

View File

@ -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()
{

View File

@ -46,7 +46,6 @@ namespace osu.Game.Graphics.UserInterface
return Current.Value.ToString();
}
}
public bool IgnoreTooltip => false;
private Color4 accentColour;
public Color4 AccentColour

View File

@ -126,7 +126,6 @@ namespace osu.Game.Overlays.BeatmapSet
private class ClickableArea : OsuClickableContainer, IHasTooltip
{
public string TooltipText => @"View Profile";
public bool IgnoreTooltip => false;
}
}
}

View File

@ -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; }

View File

@ -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)
{

View File

@ -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)
{

View File

@ -158,7 +158,6 @@ namespace osu.Game.Overlays.Settings
}
public string TooltipText => "Revert to default";
public bool IgnoreTooltip => false;
public override bool HandleInput => true;

View File

@ -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);

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{