GraphAlchemist / Alchemy

Other
517 stars 232 forks source link

Zooming and Panning not working #568

Open nikilster opened 8 years ago

nikilster commented 8 years ago

I just fired up the latest Alchemy library and it seems like zooming and panning aren't working. Any ideas?

nikilster commented 8 years ago

When trying to pan / zoom:

Uncaught TypeError: Cannot read property 'conf' of undefined Uncaught TypeError: Cannot read property 'vis' of undefined

psema4 commented 8 years ago

@kylerob's quick fix in #543 seems to fix this for me

bdunavant commented 8 years ago

I can confirm this is also happening to me today with the latest version of Chrome and the Alchemy.js on the CDN. Moving the 'push' line up before the 'switch' in prototype.begin on a local copy as suggested by @kylerob in #543 fixes this issue for me as well.