Minefield 4.0b2preでタブバーの位置がずれていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6809 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-07-02 09:38:33 +00:00
parent 891242cfc2
commit 31094094f9

View File

@ -1311,8 +1311,8 @@ TreeStyleTabBrowser.prototype = {
let box = this._tabStripPlaceHolder.boxObject; let box = this._tabStripPlaceHolder.boxObject;
let root = document.documentElement.boxObject; let root = document.documentElement.boxObject;
strip.style.top = (box.screenY - root.screenY)+'px'; strip.style.top = (box.screenY - root.screenY + root.y)+'px';
strip.style.left = (box.screenX - root.screenX)+'px'; strip.style.left = (box.screenX - root.screenX + root.x)+'px';
let width = parseInt(this._tabStripPlaceHolder.getAttribute('width') || box.width); let width = parseInt(this._tabStripPlaceHolder.getAttribute('width') || box.width);
let height = parseInt(this._tabStripPlaceHolder.getAttribute('height') || box.height); let height = parseInt(this._tabStripPlaceHolder.getAttribute('height') || box.height);