Skip to content

Commit

Permalink
[ts] Run tsfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
davidetan committed Nov 6, 2024
1 parent ecbe9b0 commit e8719eb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion spine-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For documentation of the core API in `spine-core`, please refer to our [Spine Ru

For documentation of `spine-phaser`, please refer to our [spine-phaser Guide](https://esotericsoftware.com/spine-phaser).

For documentation of `spine-pixi` and `spine-pixi`, please refer to our [spine-pixi Guide](https://esotericsoftware.com/spine-pixi).
For documentation of `spine-pixi` and `spine-pixi-v8`, please refer to our [spine-pixi Guide](https://esotericsoftware.com/spine-pixi).

For documentation of `spine-canvaskit`, please refer to our [spine-canvaskit Guide](https://esotericsoftware.com/spine-canvaskit).

Expand Down
2 changes: 1 addition & 1 deletion spine-ts/spine-pixi-v8/src/BatchableSpineSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class BatchableSpineSlot implements DefaultBatchableMeshElement {

batcherName = 'darkTint';

topology:Topology = 'triangle-list';
topology: Topology = 'triangle-list';

readonly packAsQuad = false;

Expand Down
4 changes: 2 additions & 2 deletions spine-ts/spine-pixi-v8/src/SpineDebugRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ export class SpineDebugRenderer implements ISpineDebugRenderer {

if (bounds.minX !== Infinity) {
debugDisplayObjects.boundingBoxesRect
.rect(bounds.minX, bounds.minY, bounds.getWidth(), bounds.getHeight())
.stroke({ width: lineWidth, color: this.boundingBoxesRectColor });
.rect(bounds.minX, bounds.minY, bounds.getWidth(), bounds.getHeight())
.stroke({ width: lineWidth, color: this.boundingBoxesRectColor });
}

const polygons = bounds.polygons;
Expand Down
10 changes: 5 additions & 5 deletions spine-ts/spine-pixi/src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ export class Spine extends Container {
* @param options - Options to configure the Spine game object. See {@link SpineFromOptions}
* @returns {Spine} The Spine game object instantiated
*/
public static from(options: SpineFromOptions): Spine;
public static from (options: SpineFromOptions): Spine;

/**
* @deprecated use the `from(options: SpineFromOptions)` version.
Expand All @@ -689,12 +689,12 @@ export class Spine extends Container {
* @param options - Options to configure the Spine game object
* @returns {Spine} The Spine game object instantiated
*/
public static from(skeletonAssetName: string, atlasAssetName: string, options?: ISpineOptions): Spine;
public static from (skeletonAssetName: string, atlasAssetName: string, options?: ISpineOptions): Spine;
public static from (
paramOne: string | SpineFromOptions,
atlasAssetName?: string,
options?: ISpineOptions)
: Spine {
atlasAssetName?: string,
options?: ISpineOptions)
: Spine {
if (typeof paramOne === "string") {
return Spine.oldFrom(paramOne, atlasAssetName!, options);
}
Expand Down

0 comments on commit e8719eb

Please sign in to comment.