Commit 4305a492 authored by Akikonata's avatar Akikonata

change level

parent 658a0978
......@@ -33,7 +33,6 @@ KityMinder.registerModule( "LayoutDefault", function () {
minder.getRenderContainer().addShape( iconShape );
iconShape.addShapes( [ circle, plus, dec ] );
this.update();
//this.switchState();
},
switchState: function () {
if ( !this._show ) {
......@@ -555,8 +554,8 @@ KityMinder.registerModule( "LayoutDefault", function () {
} )();
next = [];
var layer_nolimit = ( expand_layer < 1 ) || ( !expand_layer ) || false;
//debugger;
var sub_nolimit = ( expandoptions.sub < 0 ) || false;
debugger;
var sub_nolimit = ( expandoptions.sub < 1 ) || false;
var loopcontinue = function () {
return ( layer_nolimit ? ( _buffer.length !== 0 ) : ( _buffer.length !== 0 && cur_layer < expand_layer ) );
};
......
......@@ -251,9 +251,9 @@ KityMinder.registerModule( "LayoutModule", function () {
'appendchildnode': 'appendchildnode',
'removenode': 'removenode'
},
expand:{
layer:0,
sub:0
expand: {
layer: 0,
sub: 0
}
}
};
......
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