Skip to content

Commit

Permalink
del message
Browse files Browse the repository at this point in the history
  • Loading branch information
futahei committed May 16, 2022
1 parent 5497291 commit 26e5248
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/figni-viewer-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ export default class FigniViewerBaseElement extends ModelViewerElement {
this.loading = 'lazy'
this.cameraControls = true
this.ar = true
// ! 一時的にWebXRを起動しないようにします
this.arModes = 'webxr scene-viewer quick-look'
this.arScale = 'fixed'
this.arPlacement = 'floor'
Expand Down
2 changes: 1 addition & 1 deletion src/figni-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ export default class FigniViewerElement extends HTMLElement {
this.#arButton = document.createElement('span')
this.#arButton.innerHTML = `${SVG_AR_BUTTON}<span>${this.ABTEST.AR_BUTTON_TEST}</span>`
this.#arButton.classList.add('figni-viewer-ar-button')
this.#figniViewerBase.addEventListener('load', (e) => {
this.#figniViewerBase.addEventListener('load', () => {
if (this.#figniViewerBase.canActivateAR) {
this.#arButton.setAttribute('slot', 'ar-button')
} else {
Expand Down

0 comments on commit 26e5248

Please sign in to comment.