mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 811738: Close tabs-tray on closing last tab. [r=mfinkle].
This commit is contained in:
parent
872af67b0c
commit
b40f3d5c43
@ -71,7 +71,7 @@ public class RemoteTabs extends LinearLayout
|
||||
public void hide() {
|
||||
}
|
||||
|
||||
void autoHidePanel() {
|
||||
private void autoHidePanel() {
|
||||
mTabsPanel.autoHidePanel();
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ public class TabsTray extends LinearLayout
|
||||
mTabsAdapter.clear();
|
||||
}
|
||||
|
||||
void autoHidePanel() {
|
||||
private void autoHidePanel() {
|
||||
mTabsPanel.autoHidePanel();
|
||||
}
|
||||
|
||||
@ -290,6 +290,9 @@ public class TabsTray extends LinearLayout
|
||||
}
|
||||
});
|
||||
|
||||
if (mTabsAdapter.getCount() == 1)
|
||||
autoHidePanel();
|
||||
|
||||
animator.start();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user