diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-05-08 07:40:39 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-05-08 07:40:39 +0000 |
| commit | d9c43e3d6f19a2f1102743b61d999b477bba4b9a (patch) | |
| tree | e77ac36155e0813318be3b9e7641338d86dac733 /src/ui/tool/event-utils.cpp | |
| parent | Fixing page transforms (diff) | |
| parent | fix-bug-734201. stroke-to-path doesn't scale stroke width used in markers (diff) | |
| download | inkscape-d9c43e3d6f19a2f1102743b61d999b477bba4b9a.tar.gz inkscape-d9c43e3d6f19a2f1102743b61d999b477bba4b9a.zip | |
update to trunk
(bzr r13682.1.40)
Diffstat (limited to 'src/ui/tool/event-utils.cpp')
| -rw-r--r-- | src/ui/tool/event-utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/tool/event-utils.cpp b/src/ui/tool/event-utils.cpp index 079275d63..6b8d5f0dc 100644 --- a/src/ui/tool/event-utils.cpp +++ b/src/ui/tool/event-utils.cpp @@ -60,8 +60,8 @@ unsigned combine_motion_events(SPCanvas *canvas, GdkEventMotion &event, gint mas } GdkEvent *event_next; gint i = 0; - event.x -= canvas->x0; - event.y -= canvas->y0; + event.x -= canvas->_x0; + event.y -= canvas->_y0; event_next = gdk_event_get(); // while the next event is also a motion notify @@ -92,8 +92,8 @@ unsigned combine_motion_events(SPCanvas *canvas, GdkEventMotion &event, gint mas if (event_next) { gdk_event_put(event_next); } - event.x += canvas->x0; - event.y += canvas->y0; + event.x += canvas->_x0; + event.y += canvas->_y0; return i; } |
