Closed zepumph closed 1 month ago
Furthermore, I'm tempted to create something like Mass.save() that calls writeData and transformedEmitter() together.
How about putting transformedEmitter.emit
at the end of writeData? This patch seems pretty safe but I also noted one TODO:
Fixed, closing.
While reviewing https://github.com/phetsims/density-buoyancy-common/issues/201, it seems that it could be buggy to not be consistent about calling these together. I noted a couple of spots that seemed buggy with TODOs, mostly in
updateSize()
calls. Cuboid does call transformedEmitter, but not Duck or Boat.