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
647 stars 198 forks source link

Properly remove prop for multi-prop component when value is null or undefined #730

Open vincentfretin opened 5 days ago

vincentfretin commented 5 days ago

In updateEntity function used on the onChange callback for all widgets, properly remove prop for multi-prop component when value is null or undefined, the previous code didn't do anything. Currently none of the widgets onChange seems to go in that branch but this should still be fixed.