phetsims / isotopes-and-atomic-mass

"Isotopes And Atomic Mass" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
3 stars 3 forks source link

Offset positions of isotope labels due to different electron cloud size #111

Open Luisav1 opened 6 months ago

Luisav1 commented 6 months ago

While working on https://github.com/phetsims/forces-and-motion-basics/issues/309 (searching for HSlider uses with dynamic locale support), I noticed isotopes' labels overlap and vary in size: image Compared to published: image

I thought this might be related to shred common-code but after looking at relevant classes (IsotopeElectronCloudView in Shred, and IsotopeAtomNode and InteractiveIsotopeNode in Isotopes and Atomic Mass), I didn't find any significant changes that would affect the cloud size or labels text size. Not sure about the root cause.