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 ) {
......@@ -554,9 +553,9 @@ KityMinder.registerModule( "LayoutDefault", function () {
return items;
} )();
next = [];
var layer_nolimit = ( expand_layer < 1 ) || ( !expand_layer ) || false;
//debugger;
var sub_nolimit = ( expandoptions.sub < 0 ) || false;
var layer_nolimit = ( expand_layer < 1 ) || ( !expand_layer ) || 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,10 +251,10 @@ KityMinder.registerModule( "LayoutModule", function () {
'appendchildnode': 'appendchildnode',
'removenode': 'removenode'
},
expand:{
layer:0,
sub:0
}
expand: {
layer: 0,
sub: 0
}
}
};
} );
\ No newline at end of file
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