|
|
@ -884,7 +884,7 @@ Core.prototype._redraw = function() { |
|
|
|
// calculate border widths
|
|
|
|
props.border.left = (dom.centerContainer.offsetWidth - dom.centerContainer.clientWidth) / 2; |
|
|
|
props.border.right = props.border.left; |
|
|
|
props.border.top = (dom.centerContainer.offsetHeight - dom.centerContainer.clientHeight) / 2; |
|
|
|
props.border.top = Math.ceil((dom.centerContainer.offsetHeight - dom.centerContainer.clientHeight) / 2); |
|
|
|
props.border.bottom = props.border.top; |
|
|
|
props.borderRootHeight= dom.root.offsetHeight - dom.root.clientHeight; |
|
|
|
props.borderRootWidth = dom.root.offsetWidth - dom.root.clientWidth; |
|
|
|