mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Add a comment about precision scroll behaviour
This commit is contained in:
parent
ae160baa6e
commit
31f9d0161d
@ -100,7 +100,9 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Timeline
|
||||
protected override bool OnScroll(InputState state)
|
||||
{
|
||||
if (state.Mouse.HasPreciseScroll)
|
||||
// for now, we don't support zoom when using a precision scroll device. this needs gesture support.
|
||||
return base.OnScroll(state);
|
||||
|
||||
setZoomTarget(zoomTarget + state.Mouse.ScrollDelta.Y, zoomedContent.ToLocalSpace(state.Mouse.NativeState.Position).X);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user