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