Browse Source

处理格式

haojianlong 5 năm trước cách đây
mục cha
commit
aab9b39500
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);