Fix size 0 handle rendering

This commit is contained in:
DD 2017-12-12 15:00:07 -05:00
parent 85633deb64
commit bf2a405ede

View file

@ -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;