fix appveyor complaints

This commit is contained in:
Nathan Alo 2021-03-26 16:17:24 +08:00
parent 71a0616861
commit c96321206a
2 changed files with 3 additions and 6 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Screens.Edit.Compose
private HitObjectComposer composer;
private SelectionHelper helper;
private readonly SelectionHelper helper;
public ComposeScreen()
: base(EditorScreenMode.Compose)
@ -85,6 +85,7 @@ namespace osu.Game.Screens.Edit.Compose
case PlatformActionType.Copy:
helper.CopySelectionToClipboard();
return false;
default:
return false;
}

View File

@ -5,7 +5,6 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
@ -17,12 +16,10 @@ using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Framework.Screens;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
using osu.Game.Extensions;
using osu.Game.Graphics;
using osu.Game.Graphics.Cursor;
using osu.Game.Graphics.UserInterface;
@ -31,7 +28,6 @@ using osu.Game.IO.Serialization;
using osu.Game.Online.API;
using osu.Game.Overlays;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Screens.Edit.Components;
using osu.Game.Screens.Edit.Components.Menus;
using osu.Game.Screens.Edit.Components.Timelines.Summary;
@ -107,7 +103,7 @@ namespace osu.Game.Screens.Edit
private MusicController music { get; set; }
[BackgroundDependencyLoader]
private void load(OsuColour colours, GameHost host, OsuConfigManager config)
private void load(OsuColour colours, OsuConfigManager config)
{
if (Beatmap.Value is DummyWorkingBeatmap)
{