summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-08 07:30:52 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-08 07:30:52 +0000
commit71ebd00a0c51419867f5140794ffb821ae71d160 (patch)
tree20a31e0cfd5f02f3fe657ea810b7d34bf00ccb7f
parentmake default paintbucket offset 0 (diff)
downloadinkscape-71ebd00a0c51419867f5140794ffb821ae71d160.tar.gz
inkscape-71ebd00a0c51419867f5140794ffb821ae71d160.zip
make offset independent of zoom
(bzr r2566)
-rw-r--r--src/flood-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index cd2f1a5ec..7724355aa 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -325,7 +325,7 @@ static void do_trace(GdkPixbuf *px, SPDesktop *desktop, NR::Matrix transform) {
Shape *expanded_path_shape = new Shape();
expanded_path_shape->ConvertToShape(path_shape, fill_nonZero);
- path_shape->MakeOffset(expanded_path_shape, offset, join_round, 4);
+ path_shape->MakeOffset(expanded_path_shape, offset * desktop->current_zoom(), join_round, 4);
expanded_path_shape->ConvertToShape(path_shape, fill_positive);
Path *expanded_path = new Path();