mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-15 11:07:57 +01:00
removing position of nodes deeper than 2 for Original layout
This commit is contained in:
parent
d565d6899e
commit
50e6ff9928
@ -41,6 +41,13 @@ mindplot.layoutManagers.OriginalLayoutManager = mindplot.layoutManagers.BaseLayo
|
|||||||
maxOrder=order;
|
maxOrder=order;
|
||||||
}
|
}
|
||||||
result[order] = child;
|
result[order] = child;
|
||||||
|
|
||||||
|
//remove position for all childs in depth >1
|
||||||
|
var parent = node.getParent();
|
||||||
|
if(core.Utils.isDefined(parent)){
|
||||||
|
child._position = null;
|
||||||
|
child._finalPosition = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nodesByOrder=null;
|
nodesByOrder=null;
|
||||||
|
Loading…
Reference in New Issue
Block a user