Make 'fit' zoom action reset the viewport position.

This commit is contained in:
Jonathan Moore Liles 2008-05-31 19:42:51 -05:00
parent 14e1025db2
commit 54fe22e2d4
1 changed files with 1 additions and 0 deletions

View File

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