fix MTDM test
[ardour.git] / libs / canvas / poly_item.cc
index 0d3369f70b0a822ba94eaa359027aa75b6c7dd65..c66c3bbb7a34e81f53ca7fd353fa5147bbc0d33b 100644 (file)
 using namespace std;
 using namespace ArdourCanvas;
 
-PolyItem::PolyItem (Group* parent)
-       : Item (parent)
-       , Outline (parent)
+PolyItem::PolyItem (Canvas* c)
+       : Item (c)
 {
+}
 
+PolyItem::PolyItem (Item* parent)
+       : Item (parent)
+{
 }
 
 void
@@ -56,7 +59,7 @@ PolyItem::compute_bounding_box () const
                        ++i;
                }
 
-               _bounding_box = bbox.expand (_outline_width);
+               _bounding_box = bbox.expand (_outline_width + 0.5);
 
                
        } else {