Make a shift modifier do vertical zoom in zoom mode.

git-svn-id: svn://localhost/ardour2/branches/3.0@8897 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-02-17 22:36:01 +00:00
parent 6117b74bb9
commit 954bc598b8

View File

@ -3735,7 +3735,11 @@ MouseZoomDrag::finished (GdkEvent* event, bool movement_occurred)
_editor->temporal_zoom_by_frame (last_pointer_frame(), grab_frame(), "mouse zoom");
}
} else {
_editor->temporal_zoom_to_frame (_zoom_out, grab_frame());
if (Keyboard::the_keyboard().key_is_down (GDK_Shift_L)) {
_editor->tav_zoom_step (_zoom_out);
} else {
_editor->temporal_zoom_to_frame (_zoom_out, grab_frame());
}
}
_editor->zoom_rect->hide();