mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:52:57 +08:00
CI fixes
This commit is contained in:
parent
49f0a7ff36
commit
0ec10ba32d
@ -21,7 +21,6 @@ using OpenTK.Graphics;
|
||||
|
||||
#if NET_FRAMEWORK
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using osu.Framework.Logging;
|
||||
using Squirrel;
|
||||
#endif
|
||||
|
@ -126,7 +126,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
||||
var beatmap = decoder.Decode(new StreamReader(stream));
|
||||
|
||||
var curveData = beatmap.HitObjects[0] as IHasCurve;
|
||||
var positionData = beatmap.HitObjects[0] as IHasPosition;
|
||||
var positionData = (IHasPosition)beatmap.HitObjects[0];
|
||||
|
||||
Assert.IsNotNull(positionData);
|
||||
Assert.IsNotNull(curveData);
|
||||
@ -134,7 +134,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
||||
Assert.AreEqual(956, beatmap.HitObjects[0].StartTime);
|
||||
Assert.IsTrue(beatmap.HitObjects[0].Samples.Any(s => s.Name == SampleInfo.HIT_NORMAL));
|
||||
|
||||
positionData = beatmap.HitObjects[1] as IHasPosition;
|
||||
positionData = (IHasPosition)beatmap.HitObjects[1];
|
||||
|
||||
Assert.IsNotNull(positionData);
|
||||
Assert.AreEqual(new Vector2(304, 56), positionData.Position);
|
||||
|
@ -75,7 +75,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
||||
{
|
||||
private readonly OsuSpriteText valueText;
|
||||
|
||||
public int Count
|
||||
public new int Count
|
||||
{
|
||||
set { valueText.Text = value.ToString(); }
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Settings
|
||||
private readonly SpriteText headerText;
|
||||
private readonly Box selectionIndicator;
|
||||
private readonly Container text;
|
||||
public Action<SettingsSection> Action;
|
||||
public new Action<SettingsSection> Action;
|
||||
|
||||
private SettingsSection section;
|
||||
public SettingsSection Section
|
||||
|
Loading…
Reference in New Issue
Block a user