summaryrefslogtreecommitdiffstats
path: root/src/star-context.cpp
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2006-09-24 22:24:25 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2006-09-24 22:24:25 +0000
commit7adf0d491d2fa8727c3b7ec84071e40f51067279 (patch)
tree590608fc7f9d6bf681cf5f90c2b1e6ac04a3766c /src/star-context.cpp
parentaxonometric grid: angles cannot be larger than 89 degrees. (diff)
downloadinkscape-7adf0d491d2fa8727c3b7ec84071e40f51067279.tar.gz
inkscape-7adf0d491d2fa8727c3b7ec84071e40f51067279.zip
Added forced redraws to other tools
(bzr r1719)
Diffstat (limited to 'src/star-context.cpp')
-rw-r--r--src/star-context.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp
index 74b252860..3147dd213 100644
--- a/src/star-context.cpp
+++ b/src/star-context.cpp
@@ -421,6 +421,8 @@ static void sp_star_drag(SPStarContext *sc, NR::Point p, guint state)
Inkscape::GC::release(repr);
sc->item->transform = SP_ITEM(desktop->currentRoot())->getRelativeTransform(desktop->currentLayer());
sc->item->updateRepr();
+
+ sp_canvas_force_full_redraw_after_interruptions(desktop->canvas, 5);
}
NR::Point const p0 = sp_desktop_dt2root_xy_point(desktop, sc->center);
@@ -469,6 +471,8 @@ sp_star_finish (SPStarContext * sc)
object->updateRepr(NULL, SP_OBJECT_WRITE_EXT);
+ sp_canvas_end_forced_full_redraws(desktop->canvas);
+
sp_desktop_selection(desktop)->set(sc->item);
sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_STAR,
/* TODO: annotate */ "star-context.cpp:474");