increase threshold for drag-playhead-does-vertical-zoom
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 12 Jun 2011 22:05:34 +0000 (22:05 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 12 Jun 2011 22:05:34 +0000 (22:05 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9713 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_drag.cc

index ee6332e065afe88f65b0b3c274c250ab9b114336..5a2abd61c687d5ce7cca7c43c86ab89204766cea 100644 (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();