phetsims / expression-exchange

"Expression Exchange" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 2 forks source link

Flicking terms/expressions near another expression will make the join hint stick #119

Closed phet-steele closed 7 years ago

phet-steele commented 7 years ago

Even if the two things don't actually combine. @jbphet was shown this directly, here is a screenshot:

screen shot 2017-06-26 at 12 43 15 pm
jbphet commented 7 years ago

This was due to the quick flicking movement - if a user-controlled expression or coin term was over the expression in one frame and then not over it in the next frame and not user controlled, the state of the hints wasn't getting updated. I've changed the step function in ExpressionManipulationModel to clear the state on every step and then update it.

phet-steele commented 7 years ago

Fixed in 1.1.0-rc.1