[ts] Run tsfmt

This commit is contained in:
Davide Tantillo 2024-11-06 17:57:46 +01:00
parent ecbe9b0247
commit e8719ebb99
4 changed files with 9 additions and 9 deletions

View File

@ -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).

View File

@ -40,7 +40,7 @@ export class BatchableSpineSlot implements DefaultBatchableMeshElement {
batcherName = 'darkTint';
topology:Topology = 'triangle-list';
topology: Topology = 'triangle-list';
readonly packAsQuad = false;

View File

@ -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;

View File

@ -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.
@ -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);
}