mirror of
https://github.com/ppy/osu.git
synced 2025-03-11 00:17:19 +08:00
Always zoom timeline to centre rather than focus point
Closes https://github.com/ppy/osu/issues/32183.
This commit is contained in:
parent
9c28ac4a72
commit
52860def6c
@ -141,7 +141,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
if (e.AltPressed)
|
||||
{
|
||||
// zoom when holding alt.
|
||||
AdjustZoomRelatively(e.ScrollDelta.Y, zoomedContent.ToLocalSpace(e.ScreenSpaceMousePosition).X);
|
||||
AdjustZoomRelatively(e.ScrollDelta.Y);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user