Skip to content

Commit

Permalink
Update Panorama.js
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff committed Nov 14, 2023
1 parent 03d5193 commit 0f33b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/src/examples/Panorama.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import ImageLoader from '../utils/ImageLoader';
export default class Panorama {
constructor(container) {
ImageLoader.loadImages(['panorama_2.jpg']).then((images) => {
this.renderer = new PanoramaRenderer(container, images[0]);
this.renderer.play();
this.renderer = new PanoramaRenderer(container, images[0], {loop: true});
// this.renderer.play();
});
}
}

0 comments on commit 0f33b6b

Please sign in to comment.