fix error in canvas PolyLine::covers(), so that the mouse can actually enter/leave such items
This commit is contained in:
parent
6e38ecc158
commit
14b2d0b549
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user