mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
[ts] Source whitespace.
This commit is contained in:
parent
9999ea82ca
commit
351d42f511
@ -87,7 +87,7 @@ export class SpineCanvas {
|
|||||||
update: () => { },
|
update: () => { },
|
||||||
render: () => { },
|
render: () => { },
|
||||||
error: () => { },
|
error: () => { },
|
||||||
dispose: () => { },
|
dispose: () => { },
|
||||||
}
|
}
|
||||||
if (!config.webglConfig) config.webglConfig = { alpha: true };
|
if (!config.webglConfig) config.webglConfig = { alpha: true };
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ export class SpineCanvas {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Disposes the app, so the update() and render() functions are no longer called. Calls the dispose() callback.*/
|
/** Disposes the app, so the update() and render() functions are no longer called. Calls the dispose() callback.*/
|
||||||
dispose() {
|
dispose () {
|
||||||
if (this.config.app.dispose) this.config.app.dispose(this);
|
if (this.config.app.dispose) this.config.app.dispose(this);
|
||||||
this.disposed = true;
|
this.disposed = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user