Bug 589304 - When tabs are small enough to hide the close icon, stack tabs r=dolske, a=beltzner

--HG--
extra : rebase_source : 508152d38d885156132ebe9a64d64d3ec229af55
This commit is contained in:
Aza Raskin 2010-10-11 10:04:43 -07:00
parent 9eb8420b7f
commit 2d1a37b716
2 changed files with 2 additions and 2 deletions

View File

@ -982,7 +982,7 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
};
var rects = Items.arrange(null, bb, options);
return (rects[0].width < TabItems.minTabWidth * 1.35);
return (rects[0].width < 55);
},
// ----------

View File

@ -388,7 +388,7 @@ TabItem.prototype = Utils.extend(new Item(), new Subscribable(), {
proportion = widthRange.proportion(css.width); // between 0 and 1
} else {
$fav.css({top:4,left:4});
widthRange = new Range(60, 70);
widthRange = new Range(40, 45);
proportion = widthRange.proportion(css.width); // between 0 and 1
$close.show().css({opacity:proportion});
if (proportion <= .1)