appease CodeFactor and AppVeyor

This commit is contained in:
jorolf
2018-12-22 22:50:19 +01:00
parent da99161736
commit 360c17e2c7
3 changed files with 3 additions and 6 deletions

View File

@ -10,7 +10,7 @@ using osu.Game.Graphics.UserInterface;
using osuTK; using osuTK;
using osuTK.Graphics; using osuTK.Graphics;
namespace osu.Game.Overlays.Profile namespace osu.Game.Overlays.Profile.Header
{ {
public class ProfileHeaderTabControl : TabControl<string> public class ProfileHeaderTabControl : TabControl<string>
{ {

View File

@ -190,19 +190,17 @@ namespace osu.Game.Overlays.Profile.Header
public string TooltipText => User.Value?.Statistics?.Ranks.Global == null ? "" : $"{ranks[dayIndex].Value:#,##0}|{ranked_days - ranks[dayIndex].Key + 1}"; public string TooltipText => User.Value?.Statistics?.Ranks.Global == null ? "" : $"{ranks[dayIndex].Value:#,##0}|{ranked_days - ranks[dayIndex].Key + 1}";
public ITooltip GetCustomTooltip() => new RankGraphTooltip(this); public ITooltip GetCustomTooltip() => new RankGraphTooltip();
public class RankGraphTooltip : VisibilityContainer, ITooltip public class RankGraphTooltip : VisibilityContainer, ITooltip
{ {
private readonly RankGraph graph;
private readonly OsuSpriteText globalRankingText, timeText; private readonly OsuSpriteText globalRankingText, timeText;
private readonly Box background; private readonly Box background;
public string TooltipText { get; set; } public string TooltipText { get; set; }
public RankGraphTooltip(RankGraph graph) public RankGraphTooltip()
{ {
this.graph = graph;
AutoSizeAxes = Axes.Both; AutoSizeAxes = Axes.Both;
Masking = true; Masking = true;
CornerRadius = 10; CornerRadius = 10;

View File

@ -353,7 +353,6 @@ namespace osu.Game.Overlays.Profile
}, },
} }
}, },
} }
}, },
new Container new Container