X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fspiral-context.cpp;h=348cd88118bbfd440cfbcbdbd9a8fe4c276a865c;hb=915f222e72a35382120e42ff1d204a99b16644b6;hp=92c338d846db8cfdeb3f979463a6ad7bc2a5e4b4;hpb=124aed58b23bd24292c6e2175522db06a196e39e;p=inkscape.git diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index 92c338d84..348cd8811 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -412,6 +412,8 @@ sp_spiral_drag(SPSpiralContext *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); @@ -457,8 +459,11 @@ sp_spiral_finish(SPSpiralContext *sc) sp_shape_set_shape(SP_SHAPE(spiral)); SP_OBJECT(spiral)->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_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_SPIRAL, + /* TODO: annotate */ "spiral-context.cpp:462"); sc->item = NULL; }