This website works better with JavaScript.
Home
Help
Sign In
linuxaudio
/
new-session-manager
mirror of
https://github.com/linuxaudio/new-session-manager
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
17
Wiki
Activity
Browse Source
Make 'fit' zoom action reset the viewport position.
tags/non-daw-v1.1.0
Jonathan Moore Liles
17 years ago
parent
14e1025db2
commit
54fe22e2d4
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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() );
}
}
Write
Preview
Loading…
Cancel
Save