Closed samreid closed 2 years ago
@arouinfar and I discussed this today. We considered a new attribute on the circuit element model, canBeDroppedInToolbox
which defaults to true, but can be set to false if the client wants to prevent that.
UPDATE: We have a new plan in https://github.com/phetsims/circuit-construction-kit-common/issues/797 that will affect this issue.
We added CircuitElement.isDisposableProperty
in #797, can this issue be closed?
@arouinfar and I discussed, and agreed this is solved by isDisposableProperty
, closing.
Discovered in https://github.com/phetsims/circuit-construction-kit-common/issues/589#issuecomment-694843412
In this version, dragging out other components or resetting doesn't restore the resistor tool. But dragging the resistor tool to to the toolbox restores it. I'll wait for guidance on how to proceed here, but here are some options: