Merge pull request #66 from fsih/selectionCaveats

Don't hit test against handles that aren't showing
This commit is contained in:
DD Liu 2017-10-16 16:28:25 -04:00 committed by GitHub
commit 92b5657084

View file

@ -96,6 +96,10 @@ class ReshapeTool extends paper.Tool {
if (!item.segment.selected) {
return false;
}
// If the entire shape is selected, handles are hidden
if (item.item.fullySelected) {
return false;
}
}
return true;
};
@ -107,6 +111,10 @@ class ReshapeTool extends paper.Tool {
if (!item.segment.selected) {
return false;
}
// If the entire shape is selected, handles are hidden
if (item.item.fullySelected) {
return false;
}
}
return true;
};