phetsims / unit-rates

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

make bags and items move up a couple of pixels on startDrag #187

Closed pixelzoom closed 7 years ago

pixelzoom commented 7 years ago

Requested by @arouinfar: When you click on a bag or item, make it move straight up a few pixels, so that it's obvious that it has come off the shelf or scale.

pixelzoom commented 7 years ago

Bags and items now move up 5 pixels on pointer down. I made it easy to change this value, and it can be changed independently for bags and items.

@arouinfar for your review: http://www.colorado.edu/physics/phet/dev/html/unit-rates/1.0.0-dev.71/unit-rates_en.html?showAnswers&randomEnabled=false

arouinfar commented 7 years ago

Looks great! Thanks @pixelzoom.