aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

Fixes #275 Working with embedded scenes #295

Closed fernandojsg closed 8 years ago

fernandojsg commented 8 years ago

With the help of some code stolen from https://github.com/aframevr/aframe-inspector/pull/294 by @ngokevin ❤️

wikipedia

ngokevin commented 8 years ago

Got some peeking DOM elements. What if we just display: none !important everything that is not the canvas?

screen shot 2016-08-17 at 6 02 28 pm
ngokevin commented 8 years ago

Would be good to hide every element on the page:

screen shot 2016-08-17 at 6 03 16 pm
fernandojsg commented 8 years ago

@ngokevin umm what about a background-color for canvas ?

fernandojsg commented 8 years ago

and z-index for canvas and UI ?

ngokevin commented 8 years ago

Yeah, could work if we save/restore the background color and add a high-enough z-index.

fernandojsg commented 8 years ago

I've added background-color to canvas and z-index to canvas and panels but I can't get rid of some elements in the top of the canvas :| Any idea @ngokevin ?

screenshot 2016-08-18 03 26 23 screenshot 2016-08-18 03 26 14
ngokevin commented 8 years ago

r+