From bf2a405edecc77210a53a34c774fc3126f67bcce Mon Sep 17 00:00:00 2001 From: DD Date: Tue, 12 Dec 2017 15:00:07 -0500 Subject: [PATCH] Fix size 0 handle rendering --- src/path/Path.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/path/Path.js b/src/path/Path.js index 52d555c1..d192f845 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -2136,6 +2136,9 @@ new function() { // Scope for drawing // performance. function drawHandles(ctx, segments, matrix, size, isFullySelected) { + if (size === 0) { + return; + } var half = size / 2, coords = new Array(6), pX, pY;