@canvas3/nuxt 0.1.37 → 0.1.38

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.1.37",
4
+ "version": "0.1.38",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
@@ -300,7 +300,7 @@ class Canvas3Class {
300
300
  const bounds = imgHtmlEl.getBoundingClientRect();
301
301
  const position = { top: bounds.top, left: bounds.left };
302
302
  position.top += this.currentScroll;
303
- const geometry = new THREE.PlaneGeometry(1, 1);
303
+ const geometry = new THREE.PlaneGeometry(1, 1, 32, 16);
304
304
  const bitmap = await createImageBitmap(imgHtmlEl, { imageOrientation: "flipY" });
305
305
  const texture = new THREE.Texture(bitmap);
306
306
  texture.needsUpdate = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canvas3/nuxt",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },