Browse Source

Pull request #1974: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '768a49dc1b40ee4b0b416988a972a649fb11aa4e':
  add
es6
guy 3 years ago
parent
commit
73d9abda91
  1. 2
      src/core/wrapper/layout/layout.tape.js

2
src/core/wrapper/layout/layout.tape.js

@ -207,7 +207,7 @@ BI.VTapeLayout = BI.inherit(BI.Layout, {
if (BI.isNull(top[i])) { 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; 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({ w.element.css({
top: (top[i] * 100).toFixed(1) + "%", top: (top[i] * 100).toFixed(1) + "%",
height: (o.rowSize[i] * 100).toFixed(1) + "%" height: (o.rowSize[i] * 100).toFixed(1) + "%"

Loading…
Cancel
Save