1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 19:27:31 +08:00

Merge pull request #182 from peppy/input-handler-improvements

Update input handler logic to match framework changes.
This commit is contained in:
Thomas Müller 2016-11-22 06:46:55 +01:00 committed by GitHub
commit ba84904150
3 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 9ed3a191bf76ead6ff34ac468898a0119b8e5454
Subproject commit 1d43e1ed56421fbbefdf6c23dab8deeeaa0f592a

View File

@ -75,7 +75,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
protected override bool OnWheel(InputState state)
{
Volume += 0.05f * state.Mouse.WheelDiff;
Volume += 0.05f * state.Mouse.WheelDelta;
return true;
}

View File

@ -125,9 +125,9 @@ namespace osu.Game.Screens.Play
{
}
protected override void UpdateMouseState(InputState state)
protected override void TransformState(InputState state)
{
base.UpdateMouseState(state);
base.TransformState(state);
MouseState mouse = (MouseState)state.Mouse;