Don't zoom in so far on new projects.
This commit is contained in:
parent
a36f515f65
commit
cffcec79ab
|
@ -1342,7 +1342,11 @@ void
|
||||||
Timeline::zoom_fit ( void )
|
Timeline::zoom_fit ( void )
|
||||||
{
|
{
|
||||||
xposition( 0 );
|
xposition( 0 );
|
||||||
|
|
||||||
|
if ( length() )
|
||||||
zoom( length() / (float)sample_rate() );
|
zoom( length() / (float)sample_rate() );
|
||||||
|
else
|
||||||
|
zoom( 60 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/** add /track/ to the timeline */
|
/** add /track/ to the timeline */
|
||||||
|
|
Loading…
Reference in New Issue