fullScreenCanvasで隠れている時にボックスの正しい幅を取得できていなかった

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6729 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-06-26 14:12:45 +00:00
parent 3cde374074
commit ce3e5ed8ab

View File

@ -1291,8 +1291,11 @@ TreeStyleTabBrowser.prototype = {
strip.style.top = (box.screenY - root.screenY)+'px';
strip.style.left = (box.screenX - root.screenX)+'px';
strip.style.width = (tabContainerBox.width = box.width)+'px';
strip.style.height = (tabContainerBox.height = box.height)+'px';
let width = parseInt(this._tabStripPlaceHolder.getAttribute('width') || box.width);
let height = parseInt(this._tabStripPlaceHolder.getAttribute('height') || box.height);
strip.style.width = (tabContainerBox.width = width)+'px';
strip.style.height = (tabContainerBox.height = height)+'px';
tabContainerBox.collapsed = (this.splitter && this.splitter.getAttribute('state') == 'collapsed');
}