Warning fixes

This commit is contained in:
EVAST9919
2019-02-08 20:43:11 +03:00
parent bd1f4f9549
commit 107e0a5239
5 changed files with 14 additions and 29 deletions

View File

@ -330,10 +330,9 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{
private const float header_text_size = 12;
private readonly SpriteText headerText;
private readonly Box line;
public DrawableInfoColumn(string header)
protected DrawableInfoColumn(string header)
{
AutoSizeAxes = Axes.Y;
Direction = FillDirection.Vertical;
@ -344,7 +343,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{
AutoSizeAxes = Axes.X,
Height = header_text_size,
Child = headerText = new SpriteText
Child = new SpriteText
{
TextSize = 12,
Text = header.ToUpper(),
@ -415,7 +414,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
get { return valueText.Text; }
}
public TextInfoColumn(string header, float valueTextSize = 25) : base(header)
protected TextInfoColumn(string header, float valueTextSize = 25) : base(header)
{
Add(valueText = new SpriteText
{