mirror of https://github.com/ppy/osu
Fix a couple of new layout inspections introduces in Rider 2021.3 EAP5
This commit is contained in:
parent
dbb1bafb28
commit
99d01f2162
|
@ -151,8 +151,9 @@ protected override void CreateNestedHitObjects(CancellationToken cancellationTok
|
|||
{
|
||||
base.CreateNestedHitObjects(cancellationToken);
|
||||
|
||||
foreach (var e in
|
||||
SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset, cancellationToken))
|
||||
var sliderEvents = SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset, cancellationToken);
|
||||
|
||||
foreach (var e in sliderEvents)
|
||||
{
|
||||
switch (e.Type)
|
||||
{
|
||||
|
|
|
@ -77,8 +77,7 @@ public void TestReadFile()
|
|||
{
|
||||
var reader = new ZipArchiveReader(osz);
|
||||
|
||||
using (var stream = new StreamReader(
|
||||
reader.GetStream("Soleily - Renatus (Deif) [Platter].osu")))
|
||||
using (var stream = new StreamReader(reader.GetStream("Soleily - Renatus (Deif) [Platter].osu")))
|
||||
{
|
||||
Assert.AreEqual("osu file format v13", stream.ReadLine()?.Trim());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue