1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:03:08 +08:00

Fixed linting warnings

This commit is contained in:
Tim Oliver 2020-04-25 13:47:20 +08:00
parent 2a197db481
commit c1c930c472
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ namespace osu.Game.Rulesets.Taiko.UI
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OsuColour colours)
{ {
InternalChildren = new Drawable[] InternalChildren = new[]
{ {
new SkinnableDrawable(new TaikoSkinComponent(TaikoSkinComponents.PlayfieldBackgroundRight), _ => new PlayfieldBackgroundRight()), new SkinnableDrawable(new TaikoSkinComponent(TaikoSkinComponents.PlayfieldBackgroundRight), _ => new PlayfieldBackgroundRight()),
rightArea = new Container rightArea = new Container

View File

@ -240,7 +240,7 @@ namespace osu.Game.Beatmaps.Formats
} }
else else
{ {
if (hitObject is IHasEndTime _) if (hitObject is IHasEndTime)
addEndTimeData(writer, hitObject); addEndTimeData(writer, hitObject);
writer.Write(getSampleBank(hitObject.Samples)); writer.Write(getSampleBank(hitObject.Samples));