Merge branch 'reshapeCurves' of github.com:fsih/scratch-paint into reshapeCurves

This commit is contained in:
DD Liu 2020-07-28 13:47:32 -04:00
commit 01864080ad

View file

@ -246,7 +246,7 @@ class ReshapeTool extends paper.Tool {
}; };
// If item is not yet selected, don't behave differently depending on if they clicked a segment // If item is not yet selected, don't behave differently depending on if they clicked a segment
// or stroke (since those were invisible), just select the whole thing as if they clicked the fill. // (since those were invisible), just select the whole thing as if they clicked the fill.
if (!hitResult.item.selected || if (!hitResult.item.selected ||
hitResult.type === 'fill' || hitResult.type === 'fill' ||
hitResult.type === 'stroke' || hitResult.type === 'stroke' ||