mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
double click on ruler starts transport
This commit is contained in:
parent
7715fe3918
commit
be3724c984
1 changed files with 6 additions and 0 deletions
|
|
@ -2881,6 +2881,12 @@ CursorDrag::finished (GdkEvent* event, bool /*movement_occurred*/)
|
|||
Session* s = _editor->session ();
|
||||
|
||||
if (s) {
|
||||
|
||||
if (was_double_click()) {
|
||||
s->request_transport_speed (1.0);
|
||||
return;
|
||||
}
|
||||
|
||||
_editor->_pending_locate_request = true;
|
||||
s->request_locate (_editor->playhead_cursor->current_frame (), (_stop ? false : _was_rolling));
|
||||
s->request_resume_timecode_transmission ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue