mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1127613 - tabs animation triggered when tabs open and switching between tab types. r=wesj
This commit is contained in:
parent
0e6334eecc
commit
8a9d00f825
@ -405,6 +405,7 @@ public class TabsPanel extends LinearLayout
|
||||
int height = getVerticalPanelHeight();
|
||||
dispatchLayoutChange(getWidth(), height);
|
||||
}
|
||||
mHeaderVisible = true;
|
||||
}
|
||||
|
||||
public void prepareToDrag() {
|
||||
@ -414,6 +415,7 @@ public class TabsPanel extends LinearLayout
|
||||
} else {
|
||||
prepareToShow(TabsPanel.Panel.NORMAL_TABS);
|
||||
}
|
||||
mHeaderVisible = true;
|
||||
if (mIsSideBar) {
|
||||
prepareSidebarAnimation(getWidth());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user