mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix size 0 handle rendering
This commit is contained in:
parent
85633deb64
commit
bf2a405ede
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue