diff options
author | Ben Loftis <ben@glw.com> | 2009-05-22 19:47:07 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2009-05-22 19:47:07 +0000 |
commit | beef5e20ce6402e55c974d6126db8db6c7a13d7c (patch) | |
tree | ae9e47c8e767fc6677168d117e77132fe321b943 /gtk2_ardour/editor_mixer.cc | |
parent | 28f46b7f2cba64c3d5e34f39d7be45600dde3a58 (diff) |
make stationary-playhead mode less secret
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5111 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r-- | gtk2_ardour/editor_mixer.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index de0a27c687..a7d9a701a6 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -242,8 +242,7 @@ Editor::update_current_screen () if (frame != last_update_frame) { -#undef CONTINUOUS_SCROLL -#ifndef CONTINUOUS_SCROLL + if ( !_stationary_playhead ) { if (frame < leftmost_frame || frame > leftmost_frame + current_page_frames()) { #ifdef DEBUG_CURRENT_SCREEN @@ -262,7 +261,7 @@ Editor::update_current_screen () playhead_cursor->set_position (frame); -#else // CONTINUOUS_SCROLL + } else { /* don't do continuous scroll till the new position is in the rightmost quarter of the editor canvas @@ -283,7 +282,7 @@ Editor::update_current_screen () playhead_cursor->set_position (frame); -#endif // CONTINUOUS_SCROLL + } } |