phetsims / collision-lab

"Collision Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 4 forks source link

Highlight Number Displays that are being user controlled #95

Closed brandonLi8 closed 4 years ago

brandonLi8 commented 4 years ago

Currently, number displays are highlighted yellow when typing in the keypad, image which works as intended.

However, I just noticed from the design doc that this should happen when the Ball is being dragged as well. image

I assuming that the velocity number displays are highlighted when the velocity vectors are dragged as well.


Implementing this feature in this issue.

brandonLi8 commented 4 years ago

Done in the commits above. Assigning to @arouinfar to review.

arouinfar commented 4 years ago

This looks really nice @brandonLi8! Good call on highlighting the v fields when adjusting the vectors. :)