瀏覽代碼

处理格式

haojianlong 5 年之前
父節點
當前提交
aab9b39500
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/items/SceneMarkItem.ts

+ 1 - 1
src/items/SceneMarkItem.ts

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