From 66115ee7f700cfa42c2de944bf01fc8e02f3d4fb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 27 Jun 2014 10:30:09 -0400 Subject: [PATCH] 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(-) 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 {