fix MTDM test
[ardour.git] / libs / canvas / poly_item.cc
index 618983db9784ff1bc0cc15a6d703e60aabaf8c3c..c66c3bbb7a34e81f53ca7fd353fa5147bbc0d33b 100644 (file)
@@ -32,8 +32,8 @@ PolyItem::PolyItem (Canvas* c)
 {
 }
 
-PolyItem::PolyItem (Group* g)
-       : Item (g)
+PolyItem::PolyItem (Item* parent)
+       : Item (parent)
 {
 }
 
@@ -59,7 +59,7 @@ PolyItem::compute_bounding_box () const
                        ++i;
                }
 
-               _bounding_box = bbox.expand (_outline_width);
+               _bounding_box = bbox.expand (_outline_width + 0.5);
 
                
        } else {