diff --git a/src/core/graphics/webgl/utils/buildLine.js b/src/core/graphics/webgl/utils/buildLine.js index 61c9ee1..ecf43f7 100644 --- a/src/core/graphics/webgl/utils/buildLine.js +++ b/src/core/graphics/webgl/utils/buildLine.js @@ -162,7 +162,7 @@ const py = ((a2 * c1) - (a1 * c2)) / denom; const pdist = ((px - p2x) * (px - p2x)) + ((py - p2y) * (py - p2y)); - if (pdist > 140 * 140) + if (pdist > (196 * width * width)) { perp3x = perpx - perp2x; perp3y = perpy - perp2y;