mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
change Split menu entry to say Split/Separate (it was already doing that anyway). also fix a bug so you can drag the playhead and split at the playhead location
This commit is contained in:
parent
5ab70b6822
commit
f7e3d1be2c
5 changed files with 19 additions and 10 deletions
|
|
@ -4638,7 +4638,13 @@ Editor::get_preferred_edit_position (bool ignore_playhead, bool from_context_men
|
|||
|
||||
switch (ep) {
|
||||
case EditAtPlayhead:
|
||||
where = _session->audible_frame();
|
||||
if (_dragging_playhead) {
|
||||
if (!mouse_frame (where, ignored)) {
|
||||
/* XXX not right but what can we do ? */
|
||||
return 0;
|
||||
}
|
||||
} else
|
||||
where = _session->audible_frame();
|
||||
DEBUG_TRACE (DEBUG::CutNPaste, string_compose ("GPEP: use playhead @ %1\n", where));
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue