Browse Source

Make 'fit' zoom action reset the viewport position.

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

+ 1
- 0
Timeline/Timeline.C View File

@@ -1302,6 +1302,7 @@ Timeline::zoom ( float secs )
void void
Timeline::zoom_fit ( void ) Timeline::zoom_fit ( void )
{ {
xposition( 0 );
zoom( length() / (float)sample_rate() ); zoom( length() / (float)sample_rate() );
} }




Loading…
Cancel
Save