pixi.js 7.4.2 → 7.4.3

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.
package/dist/pixi.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * pixi.js - v7.4.2
3
- * Compiled Wed, 20 Mar 2024 19:55:28 UTC
2
+ * pixi.js - v7.4.3
3
+ * Compiled Thu, 06 Mar 2025 14:58:55 UTC
4
4
  *
5
5
  * pixi.js is licensed under the MIT License.
6
6
  * http://www.opensource.org/licenses/mit-license
@@ -8299,7 +8299,7 @@ void main(void)
8299
8299
  */
8300
8300
  run(options) {
8301
8301
  const { renderer } = this;
8302
- renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.4.2 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
8302
+ renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.4.3 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
8303
8303
  }
8304
8304
  destroy() {
8305
8305
  }
@@ -10789,7 +10789,7 @@ void main(void)
10789
10789
  this.disposeRunner.emit(this, !1);
10790
10790
  }
10791
10791
  }
10792
- const VERSION = "7.4.2";
10792
+ const VERSION = "7.4.3";
10793
10793
  class Bounds {
10794
10794
  constructor() {
10795
10795
  this.minX = 1 / 0, this.minY = 1 / 0, this.maxX = -1 / 0, this.maxY = -1 / 0, this.rect = null, this.updateID = -1;
@@ -15556,7 +15556,8 @@ void main()
15556
15556
  if (keys.forEach((key2) => {
15557
15557
  this._cacheMap.set(key2, cachedAssets);
15558
15558
  }), cacheKeys.forEach((key2) => {
15559
- this._cache.has(key2) && this._cache.get(key2) !== value && console.warn("[Cache] already has key:", key2), this._cache.set(key2, cacheableAssets[key2]);
15559
+ const val = cacheableAssets ? cacheableAssets[key2] : value;
15560
+ this._cache.has(key2) && this._cache.get(key2) !== val && console.warn("[Cache] already has key:", key2), this._cache.set(key2, cacheableAssets[key2]);
15560
15561
  }), value instanceof Texture) {
15561
15562
  const texture = value;
15562
15563
  keys.forEach((key2) => {