From ca1a5ef8769ab64c668f5a944eb04a6805bead09 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 12 Jun 2011 22:05:34 +0000 Subject: [PATCH] increase threshold for drag-playhead-does-vertical-zoom git-svn-id: svn://localhost/ardour2/branches/3.0@9713 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_drag.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index ee6332e065..5a2abd61c6 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -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();