Commit 71d59ae0 authored by Akikonata's avatar Akikonata

added show and hide

parent 81416b00
...@@ -569,7 +569,9 @@ KityMinder.registerModule( "LayoutDefault", function () { ...@@ -569,7 +569,9 @@ KityMinder.registerModule( "LayoutDefault", function () {
Layout.branchheight = node.getRenderContainer().getHeight() + marginTop + marginBottom; Layout.branchheight = node.getRenderContainer().getHeight() + marginTop + marginBottom;
_buffer = node.getChildren(); _buffer = node.getChildren();
while ( _buffer.length !== 0 ) { while ( _buffer.length !== 0 ) {
_buffer[ 0 ].getData( "layout" ).shape.clear(); try {
_buffer[ 0 ].getData( "layout" ).shape.clear();
} catch ( error ) {}
_buffer = _buffer.concat( _buffer[ 0 ].getChildren() ); _buffer = _buffer.concat( _buffer[ 0 ].getChildren() );
_buffer.shift(); _buffer.shift();
} }
......
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