Open benbarclay opened 12 years ago
Experimenting with this a little more, I can see that the containers are drawing their XY co-ordinates from the top-left corner of the page, whilst the wires are drawn from the top-left corner of the contentBox.
When there are elements on the page that move the contentBox away from the top-left corner of the page, the two co-ordinate systems no longer line up.
I am experiencing this same problem too. All demos are broken in Chrome 21.
Same issue in Firefox (any) Any fix for this?
When other user interface elements are used alongside the WireIt 3 canvas, the wires are vertically/horizontally displaced from the containers by the width/height of the user interface elements.
This is visible in example 5 on the WireIt homepage - the application, when you drag out two containers and attempt to wire between them.
It appears that either the wires or the containers are calculated from 0,0 of the page, not the canvas, which is causing the displacement to occur.
Tested under Chrome 20.0.1132.47 m