Closed samreid closed 8 months ago
@matthew-blackman and I implemented it above and will request review as part of https://github.com/phetsims/projectile-data-lab/issues/32
In code review https://github.com/phetsims/projectile-data-lab/issues/32 ...
- [ ] Please review recent changes to StopwatchNode.ts and how it is used in Projectile Data Lab. See options includePlayPauseResetButtons and otherControls, and https://github.com/phetsims/scenery-phet/issues/843.
My first thought was that I would not use StopwatchNode here, since it's significantly different from the standard StopwatchNode. But @samreid and @matthew-blackman explained that they wanted to leverage everything else that comes with StopwatchNode. That said, I hate to see more features added to StopwatchNode, but I don't see anything wrong with https://github.com/phetsims/scenery-phet/commit/b491faff4bed411f7a1576961e47245f593f96cb. I did add links to this issue in https://github.com/phetsims/scenery-phet/commit/12c83d2e3eebd0fbd4f35e5064d27f4790ca572f.
Thanks, let's close this issue. We have more stopwatch work to do in https://github.com/phetsims/projectile-data-lab/issues/180 and will continue there.
As part of the design for https://github.com/phetsims/projectile-data-lab/issues/94#issuecomment-1936158822, we agreed we wanted to customize the StopwatchNode by adding a sim-specific button and removing the rewind/play/pause buttons. I described this would complicate the API and implementation of StopwatchNode, but we agreed this was important and worth the effort.