0
我在项目中使用两个画布,同步两个容器中的移动对象。挑战是在移动一个对象之后,我无法在第二个容器中拖动任何对象。 我使用:拖动后的KineticJS 5.1无法在另一个阶段拖动对象
blueLine2.on('dragmove', function() {
circle2.x(blueLine2.x() + blueLine2.points()[0]);
blueLine1.setPosition({ x: blueLine2.x() * 2, y: blueLine2.y() * 2 });
circle1.x(blueLine1.x() + blueLine1.points()[0]);
guides2.draw();
guides1.draw();
});
下面是完整的代码:http://jsfiddle.net/user373721/6f1e0c1p/
会感激你的建议。
再次感谢您,伟大工程。 – hncl 2014-10-02 01:54:45