diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-02-15 18:31:38 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-02-15 18:31:38 +0000 |
| commit | c7f7afed83fc8453859ec98162537c7dc395568f (patch) | |
| tree | ed0592d8973b5c0c09cfc757263a934772cb3c2a /src/sp-root.cpp | |
| parent | first steps (diff) | |
| parent | Adjust timeout for snap tool tips to 4 seconds (diff) | |
| download | inkscape-c7f7afed83fc8453859ec98162537c7dc395568f.tar.gz inkscape-c7f7afed83fc8453859ec98162537c7dc395568f.zip | |
update to trunk
(bzr r13645.1.11)
Diffstat (limited to 'src/sp-root.cpp')
| -rw-r--r-- | src/sp-root.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp index 85582e209..3a39a51c1 100644 --- a/src/sp-root.cpp +++ b/src/sp-root.cpp @@ -30,6 +30,7 @@ #include "svg/stringstream.h" #include "svg/svg.h" #include "xml/repr.h" +#include "util/units.h" #include "sp-factory.h" @@ -298,7 +299,7 @@ void SPRoot::update(SPCtx *ctx, guint flags) SPItemCtx rctx = *ictx; rctx.viewport = Geom::Rect::from_xywh( this->x.computed, this->y.computed, this->width.computed, this->height.computed ); - rctx = get_rctx( &rctx ); + rctx = get_rctx( &rctx, Inkscape::Util::Quantity::convert(1, this->document->getDisplayUnit(), "px") ); /* And invoke parent method */ SPGroup::update((SPCtx *) &rctx, flags); |
