diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2016-01-28 13:42:50 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2016-01-28 13:46:33 -0600 |
commit | 458a2b723cedb967fe8cea7416b1cc26abf5e7ee (patch) | |
tree | 645886fb8351c6e634c0d5466243133518be7945 | |
parent | 893b51bda20b6093cf7ca2a79ec3bd079bc3a730 (diff) |
Use visible playhead location for editing during a jog-wheel event.
-rw-r--r-- | gtk2_ardour/editor.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index f07f4341e8..f080ed24fb 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4734,10 +4734,7 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_ switch (ep) { case EditAtPlayhead: if (_dragging_playhead) { - if (!mouse_frame (where, ignored)) { - /* XXX not right but what can we do ? */ - return 0; - } + where = *_control_scroll_target; } else { where = _session->audible_frame(); } |