diff --git a/src/core/wrapper/layout/layout.tape.js b/src/core/wrapper/layout/layout.tape.js index 6cc032998..f66191d36 100644 --- a/src/core/wrapper/layout/layout.tape.js +++ b/src/core/wrapper/layout/layout.tape.js @@ -207,7 +207,7 @@ BI.VTapeLayout = BI.inherit(BI.Layout, { if (BI.isNull(top[i])) { top[i] = top[i - 1] + (o.rowSize[i - 1] || items[i - 1].height) + (items[i - 1].tgap || 0) + 2 * (items[i - 1].vgap || 0) + o.vgap + o.tgap + o.bgap; } - if (o.rowSize[i] < 1 && o.rowSize[i] >=0) { + if (o.rowSize[i] < 1 && o.rowSize[i] > 0) { w.element.css({ top: (top[i] * 100).toFixed(1) + "%", height: (o.rowSize[i] * 100).toFixed(1) + "%"