1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 04:59:54 +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
Unverified
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;
}