Use visible playhead location for editing during a jog-wheel event.

This commit is contained in:
Ben Loftis 2016-01-28 13:42:50 -06:00
parent 893b51bda2
commit 458a2b723c

View file

@ -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();
}