Make use of new timing system in Drawables and Transforms.

This commit is contained in:
Thomas Müller
2016-11-06 08:25:21 +01:00
parent a859a90b56
commit a6c0fd29f2
12 changed files with 22 additions and 41 deletions

View File

@ -14,13 +14,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
{
public Action ActivateRequested;
protected override bool OnWheelDown(InputState state)
{
ActivateRequested?.Invoke();
return true;
}
protected override bool OnWheelUp(InputState state)
protected override bool OnWheel(InputState state)
{
ActivateRequested?.Invoke();
return true;