Remove more unnecessary changes

This commit is contained in:
smoogipoo
2018-07-19 17:04:51 +09:00
parent 54e288f09b
commit b7721edc80
16 changed files with 22 additions and 179 deletions

View File

@ -1,8 +1,6 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Input;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Rulesets.Edit.Tools
@ -10,15 +8,10 @@ namespace osu.Game.Rulesets.Edit.Tools
public class HitObjectCompositionTool<T> : ICompositionTool
where T : HitObject
{
public string Name { get; } = typeof(T).Name;
public Func<InputState, MouseDownEventArgs, bool> OnMouseDown;
public Func<InputState, MouseDownEventArgs, bool> OnMouseUp;
public Func<InputState, MouseDownEventArgs, bool> OnDragStart;
public Func<InputState, MouseDownEventArgs, bool> OnDragRequested;
public Func<InputState, MouseDownEventArgs, bool> OnDragEnd;
public string Name { get; }
public HitObjectCompositionTool()
: this(typeof(T).Name)
{
}