mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Run formatter.
This commit is contained in:
parent
bb1bdceb83
commit
365c4a08a3
@ -27,7 +27,7 @@
|
||||
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*****************************************************************************/
|
||||
|
||||
import { AssetManager, Color, Input, LoadingScreen, ManagedWebGLRenderingContext, Physics, SceneRenderer, TimeKeeper, Vector2, Vector3 } from "@esotericsoftware/spine-webgl"
|
||||
import { AssetManager, Color, Disposable, Input, LoadingScreen, ManagedWebGLRenderingContext, Physics, SceneRenderer, TimeKeeper, Vector2, Vector3 } from "@esotericsoftware/spine-webgl"
|
||||
import { SpineWebComponentSkeleton } from "./SpineWebComponentSkeleton.js"
|
||||
import { AttributeTypes, castValue, Point, Rectangle } from "./wcUtils.js"
|
||||
|
||||
@ -213,9 +213,6 @@ export class SpineWebComponentOverlay extends HTMLElement implements OverlayAttr
|
||||
|
||||
this.assetManager = new AssetManager(context);
|
||||
}
|
||||
[Symbol.dispose](): void {
|
||||
throw new Error("Method not implemented.")
|
||||
}
|
||||
|
||||
connectedCallback (): void {
|
||||
this.appendedToBody = this.parentElement !== document.body;
|
||||
|
||||
@ -1333,7 +1333,7 @@ export class SpineWebComponentSkeleton extends HTMLElement implements Disposable
|
||||
customElements.define("spine-skeleton", SpineWebComponentSkeleton);
|
||||
|
||||
export function getSpineWidget (identifier: string): SpineWebComponentSkeleton {
|
||||
return document.querySelector(`spine-skeleton[identifier=${identifier}]`) as SpineWebComponentSkeleton;
|
||||
return document.querySelector(`spine-skeleton[identifier=${identifier}]`) as SpineWebComponentSkeleton;
|
||||
}
|
||||
|
||||
export function createSpineWidget (parameters: WidgetAttributes): SpineWebComponentSkeleton {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user