Closed arouinfar closed 10 months ago
In KeplersLawsPanel.ts, the 3rd argument needs to be conditional, so that it's Tandem.OPT_OUT
for the Second Law:
const targetOrbitPanel = new TargetOrbitPanel( model, topLayer, tandem.createTandem( 'targetOrbitPanel' ) );
Thanks @AgustinVallejo. I'm seeing targetOrbitPanelVisibleProperty
instrumented for the Second Law screen, so I think you'll need to take care of that too.
My bad, fixing
Thanks @AgustinVallejo, looks good on main, closing.
Discovered while writing examples.md for #223
The Target Orbit feature is only relevant for the first and third laws, but the panel appears in the tree on the Second Law screen:
This feature was not designed to be used with the Second Law screen, so let's unintrument
secondLawScreen.view.panels.rightPanels.targetOrbitPanel
.