Skip to content

Commit

Permalink
updated the pinch handler
Browse files Browse the repository at this point in the history
  • Loading branch information
romyilano committed Aug 14, 2024
1 parent b7046c8 commit 8fa8f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/pinch-handler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AFRAME.registerComponent('pinch-handler', {
init: function() {
this.skyboxEl = document.querySelector('#skybox');
this.skyboxTextures = ['#skyTexture1', '#skyTexture2'];
this.skyboxTextures = ['#skyTexture1', '#skyTexture2', '#skyTexture3'];
this.currentTextureIndex = 0;

this.el.sceneEl.addEventListener('enter-vr', () => {
Expand Down

0 comments on commit 8fa8f4c

Please sign in to comment.