@canvas3/nuxt 0.1.36 → 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.36",
4
+ "version": "0.1.38",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
@@ -235,7 +235,6 @@ class Canvas3Class {
235
235
  ] of this.scroll.DOM.onScrollActivateElements.entries()) {
236
236
  if (item.elNode.dataset.scrollActivateId === updatedBinding.elNode.dataset.scrollActivateId) {
237
237
  const updatedBindingFormated = generateBindingLogic(updatedBinding);
238
- console.log("updatedBindingFormated", updatedBindingFormated);
239
238
  this.scroll.DOM.onScrollActivateElements[index] = updatedBindingFormated;
240
239
  }
241
240
  }
@@ -301,7 +300,7 @@ class Canvas3Class {
301
300
  const bounds = imgHtmlEl.getBoundingClientRect();
302
301
  const position = { top: bounds.top, left: bounds.left };
303
302
  position.top += this.currentScroll;
304
- const geometry = new THREE.PlaneGeometry(1, 1);
303
+ const geometry = new THREE.PlaneGeometry(1, 1, 32, 16);
305
304
  const bitmap = await createImageBitmap(imgHtmlEl, { imageOrientation: "flipY" });
306
305
  const texture = new THREE.Texture(bitmap);
307
306
  texture.needsUpdate = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canvas3/nuxt",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },