summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/test/intersect.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/test/intersect.html b/public/assets/test/intersect.html
index 3f6d110..cdce645 100644
--- a/public/assets/test/intersect.html
+++ b/public/assets/test/intersect.html
@@ -77,7 +77,7 @@ function draw () {
if (long_enough_to_intersect && collinear) {
ctx.fillStyle = "#f00"
}
- else if (is_on_line) {
+ else if (collinear) {
ctx.fillStyle = "#0f0"
}
else {