fixing keyboard shortcut for adding siblings

This commit is contained in:
Pablo Luna 2011-03-30 09:40:39 +01:00
parent f8fa8b2b37
commit 0692107839

View File

@ -13,9 +13,11 @@ mindplot.layoutManagers.OriginalLayoutManager = mindplot.layoutManagers.BaseLayo
mindplot.DragTopic.initialize(workSpace);
},
_nodeResizeEvent:function(node){
var size = node.getSize();
if(!this._isCentralTopic(node))
this.getTopicBoardForTopic(node).updateChildrenPosition(node,size.height/2);
if(this._isCentralTopic(node)){
var size = node.getSize();
if(!this._isCentralTopic(node))
this.getTopicBoardForTopic(node).updateChildrenPosition(node,size.height/2);
}
},
_NodeRepositionateEvent:function(node){
this.getTopicBoardForTopic(node).repositionate();