Commit 764a62c4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

call jsPlumb.repaint(element) instead of jsPlumb.repaintEverything() in redraw()

otherwise connections will be rendered in wrong positions in case of calling /positionGraph.
parent cc319c45
......@@ -252,8 +252,8 @@
var element = $('#' + node_id);
element.css('top', absolute_position[1]);
element.css('left', absolute_position[0]);
jsPlumb.repaint(element);
});
jsPlumb.repaintEverything();
};
priv.getData = function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment