Skip to content

Commit

Permalink
Bump aframe-master dist/ builds. (aframevr/aframe@08fe993...d83d7d7)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupermediumBot committed May 23, 2024
1 parent d83d7d7 commit 0d91488
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 deletions.
34 changes: 26 additions & 8 deletions dist/aframe-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -11900,10 +11900,14 @@ module.exports.Component = registerComponent('cursor', {
return;
}
CANVAS_EVENTS.DOWN.forEach(function (downEvent) {
canvas.addEventListener(downEvent, self.onCursorDown);
canvas.addEventListener(downEvent, self.onCursorDown, {
passive: false
});
});
CANVAS_EVENTS.UP.forEach(function (upEvent) {
canvas.addEventListener(upEvent, self.onCursorUp);
canvas.addEventListener(upEvent, self.onCursorUp, {
passive: false
});
});
}
canvas = el.sceneEl.canvas;
Expand Down Expand Up @@ -11967,8 +11971,10 @@ module.exports.Component = registerComponent('cursor', {
if (this.data.rayOrigin !== 'mouse') {
return;
}
canvas.addEventListener('mousemove', this.onMouseMove, false);
canvas.addEventListener('touchmove', this.onMouseMove, false);
canvas.addEventListener('mousemove', this.onMouseMove);
canvas.addEventListener('touchmove', this.onMouseMove, {
passive: false
});
el.setAttribute('raycaster', 'useWorldCoordinates', true);
this.updateCanvasBounds();
},
Expand Down Expand Up @@ -15781,9 +15787,15 @@ module.exports.Component = registerComponent('look-controls', {
window.addEventListener('mouseup', this.onMouseUp, false);

// Touch events.
canvasEl.addEventListener('touchstart', this.onTouchStart);
window.addEventListener('touchmove', this.onTouchMove);
window.addEventListener('touchend', this.onTouchEnd);
canvasEl.addEventListener('touchstart', this.onTouchStart, {
passive: true
});
window.addEventListener('touchmove', this.onTouchMove, {
passive: true
});
window.addEventListener('touchend', this.onTouchEnd, {
passive: true
});

// sceneEl events.
sceneEl.addEventListener('enter-vr', this.onEnterVR);
Expand Down Expand Up @@ -20719,9 +20731,13 @@ function createOrientationModal(onClick) {
function applyStickyHoverFix(buttonEl) {
buttonEl.addEventListener('touchstart', function () {
buttonEl.classList.remove('resethover');
}, {
passive: true
});
buttonEl.addEventListener('touchend', function () {
buttonEl.classList.add('resethover');
}, {
passive: true
});
}

Expand Down Expand Up @@ -27845,6 +27861,8 @@ function setupCanvas(sceneEl) {
// Prevent overscroll on mobile.
canvasEl.addEventListener('touchmove', function (event) {
event.preventDefault();
}, {
passive: false
});

// Set canvas on scene.
Expand Down Expand Up @@ -30158,7 +30176,7 @@ __webpack_require__(/*! ./core/a-mixin */ "./src/core/a-mixin.js");
// Extras.
__webpack_require__(/*! ./extras/components/ */ "./src/extras/components/index.js");
__webpack_require__(/*! ./extras/primitives/ */ "./src/extras/primitives/index.js");
console.log('A-Frame Version: 1.5.0 (Date 2024-05-22, Commit #7ac47c06)');
console.log('A-Frame Version: 1.5.0 (Date 2024-05-23, Commit #d83d7d70)');
console.log('THREE Version (https://github.com/supermedium/three.js):', THREE.REVISION);
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);

Expand Down
2 changes: 1 addition & 1 deletion dist/aframe-master.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ require('./core/a-mixin');
require('./extras/components/');
require('./extras/primitives/');

console.log('A-Frame Version: 1.5.0 (Date 2024-05-22, Commit #7ac47c06)');
console.log('A-Frame Version: 1.5.0 (Date 2024-05-23, Commit #d83d7d70)');
console.log('THREE Version (https://github.com/supermedium/three.js):',
THREE.REVISION);
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);
Expand Down

0 comments on commit 0d91488

Please sign in to comment.