projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e38ecc
)
fix error in canvas PolyLine::covers(), so that the mouse can actually enter/leave...
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 20 Feb 2014 04:42:01 +0000
(23:42 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 20 Feb 2014 04:42:01 +0000
(23:42 -0500)
libs/canvas/poly_line.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/poly_line.cc
b/libs/canvas/poly_line.cc
index 7118e47555d1e74d0f03752e5855ffe8fbd2d8c5..8e0498593e3115d701c68c28b46c2a82c4a3ad06 100644
(file)
--- 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 fals
e;
+
continu
e;
}
if (d < threshold) {