+ Fixed the minVersion of the XPI as per Mitcho's suggestion

+ Bumped XPI version to 0.4
+ Commented out the click-on-group to zoom into the last active tab
This commit is contained in:
Aza Raskin 2010-06-21 14:49:38 -07:00
parent 4752f94d2b
commit fb5c0336c1
2 changed files with 8 additions and 6 deletions

View File

@ -822,7 +822,7 @@ window.Group.prototype = iQ.extend(new Item(), new Subscribable(), {
this.$expander
.show()
.css({
opacity: .5,
opacity: .2,
top: dT + childBB.height + Math.min(7, (this.getBounds().bottom-childBB.bottom)/2),
// TODO: Why the magic -6? because the childBB.width seems to be over-sizing itself.
// But who can blame an object for being a bit optimistic when self-reporting size.
@ -1116,7 +1116,7 @@ window.Group.prototype = iQ.extend(new Item(), new Subscribable(), {
$shield.mouseover(function() {
self.collapse();
});
}, 100);
}, 200);
this.expanded = {
$tray: $tray,
@ -1210,12 +1210,14 @@ window.Group.prototype = iQ.extend(new Item(), new Subscribable(), {
// Don't zoom in to the last tab for the new tab group.
if( self.isNewTabsGroup() )
return;
var activeTab = self.getActiveTab();
// Zoom into the last-active tab when the group
// is clicked.
/*var activeTab = self.getActiveTab();
if( activeTab )
activeTab.zoomIn();
else if(self.getChild(0))
self.getChild(0).zoomIn();
self.getChild(0).zoomIn();*/
self._mouseDown = null;
});

View File

@ -336,7 +336,7 @@ input.defaultName:hover{
.stackExpander{
position: absolute;
opacity: .5;
opacity: .4;
cursor: pointer;
}