mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix negation in previous commit.
This commit is contained in:
parent
65f085cc98
commit
97ca1f6ff8
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ new function() {
|
||||||
attrs = getTransform(item._matrix);
|
attrs = getTransform(item._matrix);
|
||||||
if (segments.length === 0)
|
if (segments.length === 0)
|
||||||
return null;
|
return null;
|
||||||
if (matchShapes && !item.isPolygon()) {
|
if (matchShapes && item.isPolygon()) {
|
||||||
if (segments.length >= 3) {
|
if (segments.length >= 3) {
|
||||||
type = item._closed ? 'polygon' : 'polyline';
|
type = item._closed ? 'polygon' : 'polyline';
|
||||||
var parts = [];
|
var parts = [];
|
||||||
|
|
Loading…
Reference in a new issue