|
@@ -110,7 +110,7 @@ export class SceneMarkItem extends SGraphyItem {
|
|
this.mask.lineTo(Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER);
|
|
this.mask.lineTo(Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER);
|
|
|
|
|
|
let antiArr = this.outLine;
|
|
let antiArr = this.outLine;
|
|
- if(this.isAntiClockWise(this.outLine)){
|
|
|
|
|
|
+ if (this.isAntiClockWise(this.outLine)) {
|
|
antiArr = this.outLine.reverse();
|
|
antiArr = this.outLine.reverse();
|
|
}
|
|
}
|
|
this.mask.polygon(antiArr);
|
|
this.mask.polygon(antiArr);
|