@urso/core 0.9.2-dev → 0.9.3-dev

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/build/js/index.js CHANGED
@@ -68646,8 +68646,8 @@ class LibCache {
68646
68646
  for (const frameName in atlas._frames) {
68647
68647
  const nameSplit = frameName.split(".");
68648
68648
  const name = nameSplit.splice(0, nameSplit.length - 1).join(".");
68649
- const frame = atlas._frames[name];
68650
- const region = new TextureAtlasRegion(page, frameName);
68649
+ const frame = atlas._frames[frameName];
68650
+ const region = new TextureAtlasRegion(page, name);
68651
68651
  region.width = frame.frame.w;
68652
68652
  region.height = frame.frame.h;
68653
68653
  region.u = frame.frame.x / baseTexture.texture.width;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.9.2-dev",
3
+ "version": "0.9.3-dev",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -53,8 +53,8 @@ class LibCache {
53
53
  for (const frameName in atlas._frames) {
54
54
  const nameSplit = frameName.split('.');
55
55
  const name = nameSplit.splice(0, nameSplit.length - 1).join('.')
56
- const frame = atlas._frames[name];
57
- const region = new spine.TextureAtlasRegion(page, frameName);
56
+ const frame = atlas._frames[frameName];
57
+ const region = new spine.TextureAtlasRegion(page, name);
58
58
 
59
59
  region.width = frame.frame.w;
60
60
  region.height = frame.frame.h;