Closed Nancy-Salpepi closed 3 months ago
Reproduced in main.
What you're observing is the heater/cooler animation starting over, which happens whenever the number of particles changes. Relevant code is in GasPropertiesHeaterCoolerNode.ts startAnimation
.
Looks like this was introduced in https://github.com/phetsims/gas-properties/commit/df4dcfb6c9b370eb37767df6152085c039414c51 for https://github.com/phetsims/gas-properties/issues/227, where animation changes were made for PhET-iO compatibility.
@Nancy-Salpepi please review in main. Leave open for verification in 1.1.0-rc.2.
Reminder to self that I need to cherry-pick https://github.com/phetsims/gas-properties/commit/97f65d111c7ef547a3cf5b21a930c1ea5d0b7565 into gases-intro. It is irrelevant for diffusion.
I decided that it's going to be easier to patch any changes to gas-properties into all 3 release branches, regardless of whether they are relevant to all 3 sims. So that's what I did in the commits above.
Working nicely in main.
Ready for verification in 1.1.0-rc.2.
Please verify for https://github.com/phetsims/qa/issues/1123 and https://github.com/phetsims/qa/issues/1124. (This issue is irrelevant for the Diffusion sim).
To verify, follow "Steps to reproduce" in https://github.com/phetsims/gas-properties/issues/283#issue-2408696594.
If everything looks OK, please close this issue.
Looks good in rc.2 for Gas Properties and Gases Intro. Closing
Test device MacBook Air M1 chip
Operating System 14.5
Browser Chrome
Problem description For https://github.com/phetsims/qa/issues/1107 on the Ideal Screen with PressureT radio button selected, as I change the amount of particles the fire/ice will sputter the whole time I hold down an increment/decrement button. This doesn't happen in Published.
Steps to reproduce
Visuals
https://github.com/user-attachments/assets/fe0aa463-930d-41fc-abb3-802c0ec4e798