Commit 18675fe7 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix bug about same x check - #181

parent f8c309f4
......@@ -1903,7 +1903,7 @@
return closest;
}
function filterSameX(targets, x) {
return d3.merge(targets.map(function (t) { return t.values; })).filter(function (v) { return v.x === x; });
return d3.merge(targets.map(function (t) { return t.values; })).filter(function (v) { return v.x - x === 0; });
}
function getPathBox(path) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment