mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
New networkmaps in progress... (Fixed weird movement when drag nodes)
This commit is contained in:
parent
b441f1a2d4
commit
c576134821
@ -1755,6 +1755,8 @@ function init_drag_and_drop() {
|
||||
.each(function(d) {
|
||||
graph.nodes[d.id].x = d.x + delta[0];
|
||||
graph.nodes[d.id].y = d.y + delta[1];
|
||||
graph.nodes[d.id].px = d.px + delta[0];
|
||||
graph.nodes[d.id].py = d.py + delta[1];
|
||||
});
|
||||
|
||||
set_positions_graph();
|
||||
|
Loading…
x
Reference in New Issue
Block a user