Right now the inspector passes 5 callbacks to InspectorComponent.
InspectorComponent then passes those around or passes them into button callbacks, etc.
Essentially the root and the overlay not being accessible to InspectorComponent is the source of the trouble.
Refactoring the InspectorComponent to take references to those two things and encapsulating most of the logic left in Inspector might also open up the ability to do #56
Right now the inspector passes 5 callbacks to
InspectorComponent
.InspectorComponent
then passes those around or passes them into button callbacks, etc.Essentially the root and the overlay not being accessible to
InspectorComponent
is the source of the trouble.Refactoring the
InspectorComponent
to take references to those two things and encapsulating most of the logic left inInspector
might also open up the ability to do #56