fix websockets toggle_roll

Also fix BasicUI::toggle_roll who is supposed to do
the same as spacebar but doesn't.
This commit is contained in:
Remi Thebault 2022-01-09 23:30:39 +01:00 committed by Robin Gareus
parent d5df5847e1
commit a77ac7107f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 4 additions and 4 deletions

View file

@ -623,7 +623,7 @@ BasicUI::toggle_click ()
}
void
BasicUI::toggle_roll (bool roll_out_of_bounded_mode)
BasicUI::toggle_roll (bool with_abort, bool roll_out_of_bounded_mode)
{
/* TO BE KEPT IN SYNC WITH ARDOUR_UI::toggle_roll() */
@ -672,7 +672,7 @@ BasicUI::toggle_roll (bool roll_out_of_bounded_mode)
}
} else {
session->request_stop (true, true);
session->request_stop (with_abort, true);
}
} else { /* not rolling */