Code

move a global to a class property; reduce the use of is_scrolling to prevent the...
[inkscape.git] / src / event-context.cpp
index f3a402eebe9f42f833290f432d37f40116190c7c..99dc5ac20492cdbc225e2a9771faf8e49581e4f2 100644 (file)
@@ -405,7 +405,7 @@ static gint sp_event_context_private_root_handler(SPEventContext *event_context,
 
                     NR::Point const motion_w(event->motion.x, event->motion.y);
                     NR::Point const moved_w( motion_w - button_w );
-                    event_context->desktop->scroll_world(moved_w);
+                    event_context->desktop->scroll_world(moved_w, true); // we're still scrolling, do not redraw
                     ret = TRUE;
                 }
             } else if (zoom_rb) {