mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 15:07:20 +09:00
Don't fall through to seek if handling zoom
This commit is contained in:
parent
4b528e80d0
commit
ddf0d75c38
@ -117,6 +117,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
{
|
{
|
||||||
// zoom when holding alt.
|
// zoom when holding alt.
|
||||||
setZoomTarget(zoomTarget + e.ScrollDelta.Y, zoomedContent.ToLocalSpace(e.ScreenSpaceMousePosition).X);
|
setZoomTarget(zoomTarget + e.ScrollDelta.Y, zoomedContent.ToLocalSpace(e.ScreenSpaceMousePosition).X);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// can't handle scroll correctly while playing.
|
// can't handle scroll correctly while playing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user