Commit 173e4636 authored by campaign's avatar campaign

Merge remote-tracking branch 'origin/dev' into dev

parents eaebe1bf 8b2e3629
Subproject commit ef84b3d3597aad569379f1f76715ca5bd2c951d3 Subproject commit d4e00b314db4116a92583114bcb67ff9a3c4d48d
...@@ -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