Autohideによるフルスクリーン表示中に開いたタブのインデントがおかしくなる問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1369 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-10-28 15:25:56 +00:00
parent 4f5f53b50a
commit 6addd9880e

View File

@ -77,6 +77,7 @@ TreeStyleTabService.overrideExtensions = function() {
autoHIDE.HideToolbar.toSource().replace( autoHIDE.HideToolbar.toSource().replace(
'if (this.Show) {', 'if (this.Show) {',
<><![CDATA[ <><![CDATA[
window.setTimeout('TreeStyleTabService.checkTabsIndentOverflow(gBrowser);', 0);
var treeStyleTabPos = TreeStyleTabService.getPref("extensions.treestyletab.tabbar.position"); var treeStyleTabPos = TreeStyleTabService.getPref("extensions.treestyletab.tabbar.position");
if (this.Show) { if (this.Show) {
var appcontent = document.getElementById('appcontent'); var appcontent = document.getElementById('appcontent');
@ -99,6 +100,7 @@ TreeStyleTabService.overrideExtensions = function() {
appcontent.style.marginLeft = 0; appcontent.style.marginLeft = 0;
appcontent.style.marginRight = 0; appcontent.style.marginRight = 0;
} }
window.setTimeout('TreeStyleTabService.checkTabsIndentOverflow(gBrowser);', 0);
]]></> ]]></>
) )
); );