mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix for 'green' canvas redraws: cairo expects x,y,w,h not x,y,x+,y+
This commit is contained in:
parent
e701bee270
commit
23ba0f8338
1 changed files with 1 additions and 1 deletions
|
|
@ -1067,7 +1067,7 @@ GtkCanvas::on_expose_event (GdkEventExpose* ev)
|
|||
draw_context->set_identity_matrix(); //reset the cairo matrix, just in case someone left it transformed after drawing ( cough )
|
||||
|
||||
/* draw background color */
|
||||
draw_context->rectangle (rects[n].x, rects[n].y, rects[n].x + rects[n].width, rects[n].y + rects[n].height);
|
||||
draw_context->rectangle (rects[n].x, rects[n].y, rects[n].width, rects[n].height);
|
||||
Gtkmm2ext::set_source_rgba (draw_context, _bg_color);
|
||||
draw_context->fill ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue