mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
fix appveyor warnings
This commit is contained in:
parent
91c327a90f
commit
2d227d25cc
@ -21,11 +21,11 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public string Text
|
||||
{
|
||||
get => spriteText?.Text;
|
||||
get => SpriteText?.Text;
|
||||
set
|
||||
{
|
||||
if (spriteText != null)
|
||||
spriteText.Text = value;
|
||||
if (SpriteText != null)
|
||||
SpriteText.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,8 +54,8 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
}
|
||||
|
||||
protected readonly Container textContainer;
|
||||
protected readonly SpriteText spriteText;
|
||||
protected readonly Container TextContainer;
|
||||
protected readonly SpriteText SpriteText;
|
||||
private readonly Box box;
|
||||
private readonly Box light;
|
||||
|
||||
@ -66,10 +66,10 @@ namespace osu.Game.Screens.Select
|
||||
AutoSizeAxes = Axes.Both;
|
||||
Children = new Drawable[]
|
||||
{
|
||||
textContainer = new Container
|
||||
TextContainer = new Container
|
||||
{
|
||||
Size = new Vector2(100, 50),
|
||||
Child = spriteText = new OsuSpriteText
|
||||
Child = SpriteText = new OsuSpriteText
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
@ -6,19 +6,17 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Screens.Play.HUD;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
using osu.Game.Rulesets.UI;
|
||||
using System.Collections.Generic;
|
||||
using osuTK;
|
||||
using osu.Framework.Input.Events;
|
||||
|
||||
namespace osu.Game.Screens.Select
|
||||
{
|
||||
public class FooterButtonMods : FooterButton
|
||||
{
|
||||
private readonly FooterModDisplay modDisplay;
|
||||
|
||||
public FooterButtonMods(Bindable<IEnumerable<Mod>> mods)
|
||||
{
|
||||
FooterModDisplay modDisplay;
|
||||
|
||||
Add(new Container
|
||||
{
|
||||
Anchor = Anchor.CentreLeft,
|
||||
|
Loading…
Reference in New Issue
Block a user