Don't zoom in so far on new projects.

This commit is contained in:
Jonathan Moore Liles 2008-06-21 22:57:14 -05:00
parent a36f515f65
commit cffcec79ab
1 changed files with 5 additions and 1 deletions

View File

@ -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 */