From c5f9f0adad0058e6e0a0dac273377b2d4c80a3bb Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 22 Apr 2010 09:38:46 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=95=B0=E3=81=AE=E5=8F=82=E7=85=A7?= =?UTF-8?q?=E9=96=93=E9=81=95=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6612 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 720209b1..b6c74989 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -113,14 +113,14 @@ var TreeStyleTabService = { { aTabBrowser = aTabBrowser || this.browser; var max = Math.max(window.outerWidth, parseInt(document.documentElement.getAttribute('width') || 0)); - return Math.min(aWidth, max * this.DEFAULT_SHRUNKEN_WIDTH_RATIO); + return Math.min(aWidth, max * this.MAX_TABBAR_SIZE_RATIO); }, maxTabbarHeight : function TSTService_maxTabbarHeight(aHeight, aTabBrowser) { aTabBrowser = aTabBrowser || this.browser; var max = Math.max(window.outerHeight, parseInt(document.documentElement.getAttribute('height') || 0)); - return Math.min(aHeight, max * this.DEFAULT_SHRUNKEN_WIDTH_RATIO); + return Math.min(aHeight, max * this.MAX_TABBAR_SIZE_RATIO); }, /* Initializing */