Browse Source

Don't zoom in so far on new projects.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
cffcec79ab
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Timeline/Timeline.C

+ 5
- 1
Timeline/Timeline.C View File

@@ -1342,7 +1342,11 @@ void
Timeline::zoom_fit ( void ) Timeline::zoom_fit ( void )
{ {
xposition( 0 ); xposition( 0 );
zoom( length() / (float)sample_rate() );

if ( length() )
zoom( length() / (float)sample_rate() );
else
zoom( 60 );
} }


/** add /track/ to the timeline */ /** add /track/ to the timeline */


Loading…
Cancel
Save