diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-19 23:42:01 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-19 23:42:01 -0500 |
commit | 14b2d0b549d9b937a30b47a455156887e700a9bc (patch) | |
tree | 72e4f9983ae9131533eb2169416cff6413b48b3a /libs/canvas/poly_line.cc | |
parent | 6e38ecc158c13dc7eafe74f018f7887d5514b0be (diff) |
fix error in canvas PolyLine::covers(), so that the mouse can actually enter/leave such items
Diffstat (limited to 'libs/canvas/poly_line.cc')
-rw-r--r-- | libs/canvas/poly_line.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |