Commit ec443445 authored by campaign's avatar campaign

修正高度的比例

parent 7ee4be5f
...@@ -10,7 +10,7 @@ KityMinder.registerModule( "NodeText", function () { ...@@ -10,7 +10,7 @@ KityMinder.registerModule( "NodeText", function () {
node.getContRc().appendShape( textShape ); node.getContRc().appendShape( textShape );
var style = this.getCurrentLayoutStyle()[node.getType()]; var style = this.getCurrentLayoutStyle()[node.getType()];
textShape.fill(style.color).setSize(style.fontSize); 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