瀏覽代碼

formatting

was auto using spaces over tabs
Gordon Cummings 1 年之前
父節點
當前提交
8d39c09de0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      spine-ts/spine-pixi/src/Spine.ts

+ 2 - 2
spine-ts/spine-pixi/src/Spine.ts

@@ -341,7 +341,7 @@ export class Spine extends Container {
 			if (!pixiMaskSource.computed) {
 			if (!pixiMaskSource.computed) {
 				pixiMaskSource.computed = true;
 				pixiMaskSource.computed = true;
 				const clippingAttachment = pixiMaskSource.slot.attachment as ClippingAttachment;
 				const clippingAttachment = pixiMaskSource.slot.attachment as ClippingAttachment;
-                const world = new Array(clippingAttachment.worldVerticesLength);
+				const world = new Array(clippingAttachment.worldVerticesLength);
 				clippingAttachment.computeWorldVertices(pixiMaskSource.slot, 0, clippingAttachment.worldVerticesLength, world, 0, 2);
 				clippingAttachment.computeWorldVertices(pixiMaskSource.slot, 0, clippingAttachment.worldVerticesLength, world, 0, 2);
 				mask.clear().lineStyle(0).beginFill(0x000000).drawPolygon(world);
 				mask.clear().lineStyle(0).beginFill(0x000000).drawPolygon(world);
 			}
 			}
@@ -491,7 +491,7 @@ export class Spine extends Container {
 				}
 				}
 
 
 				const mesh = this.getMeshForSlot(slot);
 				const mesh = this.getMeshForSlot(slot);
-                mesh.renderable = true;
+				mesh.renderable = true;
 				mesh.zIndex = zIndex;
 				mesh.zIndex = zIndex;
 				mesh.updateFromSpineData(texture, slot.data.blendMode, slot.data.name, finalVertices, finalVerticesLength, finalIndices, finalIndicesLength, useDarkColor);
 				mesh.updateFromSpineData(texture, slot.data.blendMode, slot.data.name, finalVertices, finalVerticesLength, finalIndices, finalIndicesLength, useDarkColor);
 			}
 			}