diff --git a/libs/canvas/lollipop.cc b/libs/canvas/lollipop.cc index 9aa3e7bd75..5d9dca51c5 100644 --- a/libs/canvas/lollipop.cc +++ b/libs/canvas/lollipop.cc @@ -84,15 +84,15 @@ Lollipop::render (Rect const & area, Cairo::RefPtr context) cons /* the circle: clip to avoid weirdness at top and bottom of parent */ if (bounding_parent) { - context->save (); Rect b (bounding_parent->item_to_window (bounding_parent->bounding_box())); + b = b.intersection (area); + context->save (); context->rectangle (b.x0, b.y0, b.width(), b.height()); context->clip(); } context->arc (p.x, p.y, _radius, 0.0 * (M_PI/180.0), 360.0 * (M_PI/180.0)); - if (fill()) { setup_fill_context (context); if (outline()) {