From c2dcd7eacd11cf92b2808bc8ec61d75bd7ec9297 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 27 Jun 2014 10:30:09 -0400 Subject: slightly increase size of a Canvas::PolyItem, to avoid left-over pixels when dragging (as well as other general incorrectness --- libs/canvas/poly_item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/canvas/poly_item.cc') diff --git a/libs/canvas/poly_item.cc b/libs/canvas/poly_item.cc index d50c097e07..c66c3bbb7a 100644 --- a/libs/canvas/poly_item.cc +++ b/libs/canvas/poly_item.cc @@ -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 { -- cgit v1.2.3