click on a region in TimeFX mode should not switch back to grab mouse mode

This commit is contained in:
Paul Davis 2022-05-31 13:21:11 -06:00
parent 763d92a294
commit a127399f5e
1 changed files with 3 additions and 1 deletions

View File

@ -1710,9 +1710,11 @@ Editor::region_selection_changed ()
/* if in MouseAudition and there's just 1 region selected
* (i.e. we just clicked on it), leave things as they are
*
* Ditto for TimeFX mode
*/
if (selection->regions.size() > 1 || mouse_mode != Editing::MouseAudition) {
if (selection->regions.size() > 1 || (mouse_mode != Editing::MouseAudition && mouse_mode != Editing::MouseTimeFX)) {
set_mouse_mode (MouseObject, false);
}
}