bgrawi / jsflap

JS Implementation for visualizing Formal Languages and Automata Theory
http://jsflap.com
18 stars 8 forks source link

Snap doesn't work for consecutive moves #11

Closed sman591 closed 8 years ago

sman591 commented 9 years ago

Using the snap feature by holding the "shift" key to move multiple nodes doesn't work for more than the first node.

Steps to reproduce:

1) Create two nodes 2) Enter move mode, or hold spacebar 3) Hold shift 4) Drag the first node, it will snap to the grid 5) Drag the second node, it will not snap to the grid (move freely)