From 71ebd00a0c51419867f5140794ffb821ae71d160 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Thu, 8 Mar 2007 07:30:52 +0000 Subject: make offset independent of zoom (bzr r2566) --- src/flood-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flood-context.cpp') 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(); -- cgit v1.2.3