Commit 2b3c0212 authored by Romain Loth's avatar Romain Loth

faster dragNodes plugins

2 x refresh was not necessary because invoked by executeNodeMouseMove

(possible pull request)
parent 1827fdf4
......@@ -170,7 +170,7 @@
// Deactivate drag graph.
_renderer.settings({mouseEnabled: false, enableHovering: false});
_s.refresh();
// _s.refresh();
_self.dispatchEvent('startdrag', {
node: _node,
......@@ -198,7 +198,7 @@
// Activate drag graph.
_renderer.settings({mouseEnabled: true, enableHovering: true});
_s.refresh();
// _s.refresh();
if (_drag) {
_self.dispatchEvent('drop', {
......
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