phetsims / build-a-molecule

"Build a Molecule" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
8 stars 7 forks source link

Drag bounds of the KitPlayAreaNode #98

Closed Denz1994 closed 4 years ago

Denz1994 commented 4 years ago

Currently, the visible bonds are the limits of where a molecule should be dragged. The issue here is that larger molecules with several atoms can cause some atoms to be dragged off-screen. We keep limits on the drag bounds that are smaller than the visible bounds.

Denz1994 commented 4 years ago

Bounds have been adjusted to fit within the play area, not the visible bounds. this.playAreaDragBounds is currently being used as our play area bounds. Closing this issue.