Commit f88b56f8 authored by Akikonata's avatar Akikonata

added config

parent 78924b22
...@@ -16,7 +16,6 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", { ...@@ -16,7 +16,6 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
this.rc = new kity.Group(); this.rc = new kity.Group();
this.rc.addClass( 'km-minderNode' ); this.rc.addClass( 'km-minderNode' );
this.rc.minderNode = this; this.rc.minderNode = this;
this._createBgGroup(); this._createBgGroup();
this._createContGroup(); this._createContGroup();
}, },
......
...@@ -154,7 +154,7 @@ KityMinder.registerModule( "LayoutBottom", function () { ...@@ -154,7 +154,7 @@ KityMinder.registerModule( "LayoutBottom", function () {
default: default:
break; break;
} }
contRc.setTransform( new kity.Matrix().translate( nodeStyle.padding[ 3 ], nodeStyle.padding[ 0 ] + node.getTextShape().getHeight() ) ); //contRc.setTransform( new kity.Matrix().translate( nodeStyle.padding[ 3 ], nodeStyle.padding[ 0 ] + node.getTextShape().getHeight() ) );
}; };
var updateLayoutMain = function () { var updateLayoutMain = function () {
var _root = minder.getRoot(); var _root = minder.getRoot();
......
...@@ -176,7 +176,7 @@ KityMinder.registerModule( "LayoutDefault", function () { ...@@ -176,7 +176,7 @@ KityMinder.registerModule( "LayoutDefault", function () {
default: default:
break; break;
} }
contRc.setTransform( new kity.Matrix().translate( nodeStyle.padding[ 3 ], nodeStyle.padding[ 0 ] + node.getTextShape().getHeight() ) ); //contRc.setTransform( new kity.Matrix().translate( nodeStyle.padding[ 3 ], nodeStyle.padding[ 0 ] + node.getTextShape().getHeight() ) );
}; };
//计算节点在垂直方向的位置 //计算节点在垂直方向的位置
var updateLayoutVertical = function ( node, parent, action ) { var updateLayoutVertical = function ( node, parent, action ) {
......
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