diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-03-08 07:30:52 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-03-08 07:30:52 +0000 |
| commit | 71ebd00a0c51419867f5140794ffb821ae71d160 (patch) | |
| tree | 20a31e0cfd5f02f3fe657ea810b7d34bf00ccb7f /src/flood-context.cpp | |
| parent | make default paintbucket offset 0 (diff) | |
| download | inkscape-71ebd00a0c51419867f5140794ffb821ae71d160.tar.gz inkscape-71ebd00a0c51419867f5140794ffb821ae71d160.zip | |
make offset independent of zoom
(bzr r2566)
Diffstat (limited to 'src/flood-context.cpp')
| -rw-r--r-- | src/flood-context.cpp | 2 |
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(); |
