@urso/core 0.8.24 → 0.8.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149,7 +149,7 @@ object-assign
149
149
  */
150
150
 
151
151
  /*!
152
- * GSAP 3.13.0
152
+ * GSAP 3.14.2
153
153
  * https://gsap.com
154
154
  *
155
155
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.8.24",
3
+ "version": "0.8.25",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -43,7 +43,11 @@ class ModulesScenesPixiWrapper {
43
43
  if (container) {
44
44
  parentContainer = container;
45
45
  } else {
46
- Urso.logger.warn(`No element found for domParentSelector: ${domParentSelector}`);
46
+ Urso.logger.warn(`No element found for domParentSelector: ${Urso.config.domParentSelector}`);
47
+ Urso.logger.warn(`waitForDomElement...`);
48
+ Urso.helper.waitForDomElement(Urso.config.domParentSelector).then(() => {
49
+ parentContainer.appendChild(this._renderer.view);
50
+ });
47
51
  }
48
52
  }
49
53
 
@@ -31,7 +31,11 @@ class ModulesScenesResolutions {
31
31
  const container = document.querySelector(Urso.config.domParentSelector);
32
32
 
33
33
  if (!container) {
34
- Urso.logger.warn(`No element found for domParentSelector: ${domParentSelector}`);
34
+ Urso.logger.warn(`No element found for domParentSelector: ${Urso.config.domParentSelector}`);
35
+ Urso.logger.warn(`waitForDomElement...`);
36
+ Urso.helper.waitForDomElement(Urso.config.domParentSelector).then(() => {
37
+ this._observeCustomDomElementResize();
38
+ });
35
39
  return;
36
40
  }
37
41