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:
parent
891242cfc2
commit
31094094f9
@ -1311,8 +1311,8 @@ TreeStyleTabBrowser.prototype = {
|
||||
|
||||
let box = this._tabStripPlaceHolder.boxObject;
|
||||
let root = document.documentElement.boxObject;
|
||||
strip.style.top = (box.screenY - root.screenY)+'px';
|
||||
strip.style.left = (box.screenX - root.screenX)+'px';
|
||||
strip.style.top = (box.screenY - root.screenY + root.y)+'px';
|
||||
strip.style.left = (box.screenX - root.screenX + root.x)+'px';
|
||||
|
||||
let width = parseInt(this._tabStripPlaceHolder.getAttribute('width') || box.width);
|
||||
let height = parseInt(this._tabStripPlaceHolder.getAttribute('height') || box.height);
|
||||
|
Loading…
Reference in New Issue
Block a user