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

@ -67,21 +67,12 @@ namespace osu.Game.Graphics.UserInterface.Volume
base.Dispose(isDisposing);
}
protected override bool OnWheelDown(InputState state)
protected override bool OnWheel(InputState state)
{
if (!IsVisible)
return false;
volumeMeterMaster.TriggerWheelDown(state);
return true;
}
protected override bool OnWheelUp(InputState state)
{
if (!IsVisible)
return false;
volumeMeterMaster.TriggerWheelUp(state);
volumeMeterMaster.TriggerWheel(state);
return true;
}