Fix CI issues

This commit is contained in:
Dean Herbert
2019-05-08 18:43:06 +09:00
parent 9a9ac05cd9
commit 8906eb874a
3 changed files with 5 additions and 4 deletions

View File

@ -56,6 +56,7 @@ namespace osu.Game.Screens.Select
private readonly List<OverlayContainer> overlays = new List<OverlayContainer>(); private readonly List<OverlayContainer> overlays = new List<OverlayContainer>();
/// <param name="button">THe button to be added.</param>
/// <param name="text">Text on the button.</param> /// <param name="text">Text on the button.</param>
/// <param name="colour">Colour of the button.</param> /// <param name="colour">Colour of the button.</param>
/// <param name="hotkey">Hotkey of the button.</param> /// <param name="hotkey">Hotkey of the button.</param>

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables; using osu.Framework.Bindables;
@ -13,7 +13,7 @@ namespace osu.Game.Screens.Select
{ {
public class FooterButtonMods : FooterButton public class FooterButtonMods : FooterButton
{ {
public FooterButtonMods(Bindable<IEnumerable<Mod>> mods) public FooterButtonMods(Bindable<IReadOnlyList<Mod>> mods)
{ {
FooterModDisplay modDisplay; FooterModDisplay modDisplay;
@ -21,7 +21,8 @@ namespace osu.Game.Screens.Select
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Child = modDisplay = new FooterModDisplay { Child = modDisplay = new FooterModDisplay
{
DisplayUnrankedText = false, DisplayUnrankedText = false,
Scale = new Vector2(0.8f) Scale = new Vector2(0.8f)
}, },

View File

@ -5,7 +5,6 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events; using osu.Framework.Input.Events;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using System;
namespace osu.Game.Screens.Select namespace osu.Game.Screens.Select
{ {