summaryrefslogtreecommitdiffstats
path: root/src/star-context.cpp
diff options
context:
space:
mode:
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..fc1d71052 100644
--- a/src/star-context.cpp
+++ b/src/star-context.cpp
@@ -442,6 +442,8 @@ static void sp_star_drag(SPStarContext *sc, NR::Point p, guint state)
arg1 = sp_round(arg1, M_PI / snaps);
}
+ sp_canvas_force_full_redraws(desktop->canvas, 1);
+
sp_star_position_set(star, sc->magnitude, p0, r1, r1 * sc->proportion,
arg1, arg1 + M_PI / sides, sc->isflatsided, sc->rounded, sc->randomized);
@@ -474,6 +476,8 @@ sp_star_finish (SPStarContext * sc)
/* TODO: annotate */ "star-context.cpp:474");
sc->item = NULL;
+
+ sp_canvas_clear_forced_full_redraws(desktop->canvas);
}
}