phetsims / number-line-distance

"Number Line: Distance" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 3 forks source link

Directed Distance text not centered #80

Closed KatieWoe closed 11 months ago

KatieWoe commented 11 months ago

Test device iPad Operating System iOS 17 Browser Safari Problem description For https://github.com/phetsims/qa/issues/1005. The text describing object positions on the explore screen are not centered when the directed distance option is active. This is most seen on the scene with the fish and bird, but seems to be in all three. The text is centered in the published version Steps to reproduce

  1. On the first screen, go to the fish and bird scene
  2. Drag the fish and bird into the play area
  3. Switch the text option to directed distance

Visuals uncenter

KatieWoe commented 11 months ago

This seems to happen on the second screen with the Absolute Value option

KatieWoe commented 11 months ago

It happens with Directed Distance on the Generic Screen and Absolute Value on the Explore screen as well, but may be less obvious.

marlitas commented 11 months ago

Fixed in the above commit. @KatieWoe can you check on main and close if all looks well?

KatieWoe commented 11 months ago

Looks good