From 7aeb2d2ec5ba26a7059a2dd6f61c6910ed38f8c2 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Thu, 8 Mar 2007 07:30:52 +0000 Subject: [PATCH] make offset independent of zoom --- src/flood-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2