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