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

Implemented collapsible elements in scenegraph #529

Closed Adam4lexander closed 6 years ago

Adam4lexander commented 6 years ago

Implemented similarly to Unity. Click carrots to expand/collapse elements. While searching all collapsed elements are expanded. When clearing the search the selected element will have its parent elements expanded. I used a weakmap to store expanded/collapsed state on elements so there was no need to mess with the rebuildOptions code.

ngokevin commented 6 years ago

Thanks! I'll try to get around to looking at this. Very useful.

ngokevin commented 6 years ago

Thanks!

ngokevin commented 6 years ago

Does search work for you? Doesn't work well for me, not sure if it was broken before already.

Adam4lexander commented 6 years ago

It's not working for me either. There's a good chance I broke it since I was touching that code. Sorry about that I'll take a look and make a fix.