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 )
|
||||
{
|
||||
xposition( 0 );
|
||||
zoom( length() / (float)sample_rate() );
|
||||
|
||||
if ( length() )
|
||||
zoom( length() / (float)sample_rate() );
|
||||
else
|
||||
zoom( 60 );
|
||||
}
|
||||
|
||||
/** add /track/ to the timeline */
|
||||
|
|
Loading…
Reference in New Issue