mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
[Summary] Bug fix: in the MainClock editing cursor’s cairo_fill filled all the occurred rectangles (including one, used to clip).
This commit is contained in:
parent
857f303e18
commit
310f02b786
1 changed files with 5 additions and 0 deletions
|
|
@ -66,7 +66,12 @@ CairoWidget::on_expose_event (GdkEventExpose *ev)
|
|||
#endif
|
||||
|
||||
cr->rectangle (ev->area.x, ev->area.y, ev->area.width, ev->area.height);
|
||||
|
||||
#ifdef USE_CAIRO_IMAGE_SURFACE_FOR_CAIRO_WIDGET
|
||||
cr->clip_preserve ();
|
||||
#else
|
||||
cr->clip ();
|
||||
#endif
|
||||
|
||||
/* paint expose area the color of the parent window bg
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue