@canvas3/nuxt 0.0.4 → 0.0.5

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "canvas-nuxt-layout",
3
3
  "configKey": "canvas3Layout",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
@@ -366,8 +366,8 @@ class Canvas3Class {
366
366
  uMeshSize: { value: new THREE.Vector2(bounds.width, bounds.height) },
367
367
  uTextureSize: {
368
368
  value: new THREE.Vector2(
369
- texture.image.naturalWidth,
370
- texture.image.naturalHeight
369
+ bitmap.width,
370
+ bitmap.height
371
371
  )
372
372
  },
373
373
  uViewport: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canvas3/nuxt",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },