зеркало из https://github.com/mozilla/gecko-dev.git
Bug 634558 - Hidden tabs flicker when dragging tabs out of a stacked group [r=ian, a=beltzner]
This commit is contained in:
Родитель
87a5f3aa31
Коммит
05c8042d70
|
@ -1330,7 +1330,6 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||||
child.addClass("stacked");
|
child.addClass("stacked");
|
||||||
child.isStacked = true;
|
child.isStacked = true;
|
||||||
if (numInPile-- > 0) {
|
if (numInPile-- > 0) {
|
||||||
child.setHidden(false);
|
|
||||||
if (child == self.topChild)
|
if (child == self.topChild)
|
||||||
children.unshift(child);
|
children.unshift(child);
|
||||||
else
|
else
|
||||||
|
@ -1347,8 +1346,9 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||||
|
|
||||||
// Force a recalculation of height because we've changed how the title
|
// Force a recalculation of height because we've changed how the title
|
||||||
// is shown.
|
// is shown.
|
||||||
child.setBounds(box, !animate, {force:true});
|
child.setBounds(box, !animate || child.getHidden(), {force:true});
|
||||||
child.setRotation((UI.rtl ? -1 : 1) * angleAccum);
|
child.setRotation((UI.rtl ? -1 : 1) * angleAccum);
|
||||||
|
child.setHidden(false);
|
||||||
angleAccum += angleDelta;
|
angleAccum += angleDelta;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче