diff --git a/examples/scripts/ui.mjs b/examples/scripts/ui.mjs index 58f6417..2320d9d 100644 --- a/examples/scripts/ui.mjs +++ b/examples/scripts/ui.mjs @@ -94,11 +94,7 @@ document.addEventListener('DOMContentLoaded', async () => { // Add AR button if available if (app.xr.isAvailable('immersive-ar')) { const arButton = createButton({ - icon: ` - - - - `, + icon: ``, title: 'Enter AR', onClick: () => app.xr.start(app.root.findComponent('camera'), 'immersive-ar', 'local-floor') }); @@ -108,11 +104,7 @@ document.addEventListener('DOMContentLoaded', async () => { // Add VR button if available if (app.xr.isAvailable('immersive-vr')) { const vrButton = createButton({ - icon: ` - - - - `, + icon: ``, title: 'Enter VR', onClick: () => app.xr.start(app.root.findComponent('camera'), 'immersive-vr', 'local-floor') }); @@ -127,16 +119,8 @@ document.addEventListener('DOMContentLoaded', async () => { // Add fullscreen button if supported if (document.documentElement.requestFullscreen && document.exitFullscreen) { - const enterFullscreenIcon = ` - - - - `; - const exitFullscreenIcon = ` - - - - `; + const enterFullscreenIcon = ``; + const exitFullscreenIcon = ``; const fullscreenButton = createButton({ icon: enterFullscreenIcon, @@ -162,9 +146,7 @@ document.addEventListener('DOMContentLoaded', async () => { // Add source button const filename = window.location.pathname.split('/').pop(); const sourceButton = createButton({ - icon: ` - - `, + icon: ``, title: 'View Source', onClick: () => window.open(`https://github.com/playcanvas/web-components/tree/main/examples/${filename}`, '_blank') });