Commit fedca98b authored by Akikonata's avatar Akikonata

Merge branch 'dev' of https://github.com/kitygraph/kityminder into dev

parents 0de895cb a69442eb
Subproject commit 04a63502b8d6c6605a3bec9317459c089f2416f6
Subproject commit 7c0498012df602619a38e6b88785a486cd92396d
......@@ -138,17 +138,7 @@ Minder.Receiver = kity.createClass('Receiver',{
return this;
},
setBaseOffset :function(){
var nodeOffset = this.minderNode.getRenderContainer().getRenderBox();
var textOffset = this.textShape.getRenderBox();
var transformed = this.textShape.container.getTransform().transformBox(textOffset);
//var contRcOffset = this.minderNode.getContRc().getRenderBox();
this.offset = {
x : nodeOffset.x + transformed.x,
y : nodeOffset.y + transformed.y
};
this.offset = this.textShape.getRenderBox('top');
return this;
},
setContainerStyle : function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment