Commit f5a98519 authored by campaign's avatar campaign

修改基线问题

parent 0a629037
......@@ -94,7 +94,7 @@ Minder.Receiver = kity.createClass( 'Receiver', {
me.textShape.setOpacity( 0 );
}
me.km.updateLayout( me.minderNode );
me.km.highlightNode( me.minderNode );
me.textShape = me.minderNode.getTextShape();
me.setBaseOffset();
......
......@@ -465,6 +465,9 @@ KityMinder.registerModule( "LayoutDefault", function () {
translateNode( set[ i ] );
updateConnectAndshIcon( set[ i ] );
}
if(this.isNodeSelected(node)){
this.highlightNode(node)
}
},
initStyle: function () {
var _root = minder.getRoot();
......
......@@ -10,7 +10,7 @@ KityMinder.registerModule( "NodeText", function () {
node.getContRc().appendShape( textShape );
var style = this.getCurrentLayoutStyle()[node.getType()];
textShape.fill(style.color).setSize(style.fontSize);
textShape.setPosition(width,textShape.getHeight()*.81)
textShape.setPosition(width,textShape.getHeight() * 0.25)
}
}
}
......
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