13
0

increase threshold for drag-playhead-does-vertical-zoom

git-svn-id: svn://localhost/ardour2/branches/3.0@9713 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-06-12 22:05:34 +00:00
parent a82b900e44
commit ca1a5ef876

View File

@ -2117,11 +2117,11 @@ CursorDrag::motion (GdkEvent* event, bool)
/* zoom when we move the pointer up and down */
/* y range to operate over (pixels) */
double const y_range = 256;
double const y_range = 512;
/* we will multiply the grab zoom by a factor between scale_range and scale_range^-1 */
double const scale_range = 4;
/* dead zone around the grab point in which to do no zooming (pixels) */
double const dead_zone = 16;
double const dead_zone = 128;
/* current dy */
double dy = _drags->current_pointer_y() - grab_y();