mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
fixing keyboard shortcut for adding siblings
This commit is contained in:
parent
f8fa8b2b37
commit
0692107839
@ -13,9 +13,11 @@ mindplot.layoutManagers.OriginalLayoutManager = mindplot.layoutManagers.BaseLayo
|
|||||||
mindplot.DragTopic.initialize(workSpace);
|
mindplot.DragTopic.initialize(workSpace);
|
||||||
},
|
},
|
||||||
_nodeResizeEvent:function(node){
|
_nodeResizeEvent:function(node){
|
||||||
|
if(this._isCentralTopic(node)){
|
||||||
var size = node.getSize();
|
var size = node.getSize();
|
||||||
if(!this._isCentralTopic(node))
|
if(!this._isCentralTopic(node))
|
||||||
this.getTopicBoardForTopic(node).updateChildrenPosition(node,size.height/2);
|
this.getTopicBoardForTopic(node).updateChildrenPosition(node,size.height/2);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
_NodeRepositionateEvent:function(node){
|
_NodeRepositionateEvent:function(node){
|
||||||
this.getTopicBoardForTopic(node).repositionate();
|
this.getTopicBoardForTopic(node).repositionate();
|
||||||
|
Loading…
Reference in New Issue
Block a user