mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix zoom delta math
This commit is contained in:
@ -167,7 +167,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
{
|
||||
}
|
||||
|
||||
public float CalculateZoomChange(float rawChange) => rawChange * MaxZoom * zoom_change_sensitivity;
|
||||
public float CalculateZoomChange(float rawChange) => rawChange * (MaxZoom - minZoom) * zoom_change_sensitivity;
|
||||
|
||||
private class TransformZoom : Transform<float, ZoomableScrollContainer>
|
||||
{
|
||||
|
Reference in New Issue
Block a user