From 14b2d0b549d9b937a30b47a455156887e700a9bc Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 19 Feb 2014 23:42:01 -0500 Subject: [PATCH] fix error in canvas PolyLine::covers(), so that the mouse can actually enter/leave such items --- libs/canvas/poly_line.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/poly_line.cc b/libs/canvas/poly_line.cc index 7118e47555..8e0498593e 100644 --- a/libs/canvas/poly_line.cc +++ b/libs/canvas/poly_line.cc @@ -82,7 +82,7 @@ PolyLine::covers (Duple const & point) const double d = distance_to_segment_squared (p, a, b, t, at); if (t < 0.0 || t > 1.0) { - return false; + continue; } if (d < threshold) {