fix #170
This commit is contained in:
parent
71047ecac4
commit
45f856fc05
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ function onDragMoveTopicHandler(node, eventInfo, e) {
|
||||||
var yOffset = new Array();
|
var yOffset = new Array();
|
||||||
for (var i = 0; i < len; i += 1) {
|
for (var i = 0; i < len; i += 1) {
|
||||||
n = MetamapsModel.selectedNodes[i];
|
n = MetamapsModel.selectedNodes[i];
|
||||||
xOffset[i] = n.getData('xloc') - node.getData('xloc');
|
xOffset[i] = n.pos.x - node.pos.x;
|
||||||
yOffset[i] = n.getData('yloc') - node.getData('yloc');
|
yOffset[i] = n.pos.y - node.pos.y;
|
||||||
}//for
|
}//for
|
||||||
|
|
||||||
for (var i = 0; i < len; i += 1) {
|
for (var i = 0; i < len; i += 1) {
|
||||||
|
|
Loading…
Reference in a new issue