phetsims / area-builder

"Area Builder" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/area-builder
GNU General Public License v3.0
1 stars 2 forks source link

problems with FeedbackWindow and subclasses #115

Closed pixelzoom closed 4 years ago

pixelzoom commented 4 years ago

Noted while converting to ES6 class in https://github.com/phetsims/tasks/issues/1049.

Low priority, but worth fixing at some point.

jbphet commented 4 years ago

For the first item above, I removed the calls to .mutate and the behavior was unchanged. For the second, I changed the call to the superconstructor to pass in the options instead of the decomposed options that it was using, and that appears to have worked too.

I tested using number, short, and long strings, and the position of the YouBuiltWindow and the YouEnteredWindow was unchanged.

Seems like that should do it. Closing.