Commit 569b6c2b authored by techird's avatar techird

Merge branch 'dev' of github.com:fex-team/kityminder into dev

parents e701dbf5 8b2e3629
...@@ -217,7 +217,7 @@ KityMinder.registerModule( "LayoutDefault", function () { ...@@ -217,7 +217,7 @@ KityMinder.registerModule( "LayoutDefault", function () {
} }
for ( var i = 0; i < children.length; i++ ) { for ( var i = 0; i < children.length; i++ ) {
var childLayout = children[ i ].getLayout(); var childLayout = children[ i ].getLayout();
if ( children[ i ].getRenderContainer().getHeight() !== 0 ) if ( children[ i ].getRenderContainer().getPaper() && children[ i ].getRenderContainer().getHeight() !== 0 )
sum += childLayout.branchheight; sum += childLayout.branchheight;
} }
return sum; return sum;
......
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