1
0
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:
Dean Herbert 2025-03-03 18:53:41 +09:00
parent 9c28ac4a72
commit 52860def6c
No known key found for this signature in database

View File

@ -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;
}