Closed samreid closed 4 years ago
The code duplication essentially adjusts relevant view components when the visible bounds of the sim change.SpringScreenView.adjustViewComponents( )
was added to remove the code duplication in the two spring views. I'll let CT run a cycle before closing.
While working on https://github.com/phetsims/gas-properties/issues/170, I noticed around 20 lines of duplicated code between OneSpringScreenView and TwoSpringScreenView.
Assigning to the responsible dev. Also note, I have some commits coming to these files shortly for https://github.com/phetsims/gas-properties/issues/170