Extend the y range of the simplerect redraw request in one case to prevent bits being...
authorCarl Hetherington <carl@carlh.net>
Mon, 18 Apr 2011 18:45:25 +0000 (18:45 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 18 Apr 2011 18:45:25 +0000 (18:45 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9367 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/canvas-simplerect.c

index 1a115696029d7539878cffd7e25c27191ced5210..028753ee202a90d27f86c99c52cbcf76dbaf57c4 100644 (file)
@@ -323,7 +323,7 @@ gnome_canvas_simplerect_reset_bounds (GnomeCanvasItem *item)
                        double start_x = MIN (item->x2, old_x2);
                        double end_x = MAX (item->x2, old_x2);
 
-                       gnome_canvas_request_redraw (item->canvas, start_x - 0.5, item->y1, end_x + 1.5, item->y2);
+                       gnome_canvas_request_redraw (item->canvas, start_x - 0.5, item->y1, end_x + 1.5, item->y2 + 0.5);
                        return;
 
                } else if (item->x2 == old_x2) {