mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
Use visible playhead location for editing during a jog-wheel event.
This commit is contained in:
parent
893b51bda2
commit
458a2b723c
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue