@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
|
@@ -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;
|