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

Don't fall through to seek if handling zoom

This commit is contained in:
Bartłomiej Dach 2020-11-03 21:49:21 +01:00
parent 4b528e80d0
commit ddf0d75c38

View File

@ -117,6 +117,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
// zoom when holding alt.
setZoomTarget(zoomTarget + e.ScrollDelta.Y, zoomedContent.ToLocalSpace(e.ScreenSpaceMousePosition).X);
return true;
}
// can't handle scroll correctly while playing.