mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
Revert non-track usage
This commit is contained in:
parent
db52260427
commit
122265ff0e
@ -86,7 +86,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
track = b.NewValue.Track;
|
||||
|
||||
// todo: i don't think this is safe, the track may not be loaded yet.
|
||||
if (b.NewValue.Track.Length > 0)
|
||||
if (track.Length > 0)
|
||||
{
|
||||
MaxZoom = getZoomLevelForVisibleMilliseconds(500);
|
||||
MinZoom = getZoomLevelForVisibleMilliseconds(10000);
|
||||
|
Loading…
Reference in New Issue
Block a user