Reposition 3-dot menu only when it is open (#2304)
This commit is contained in:
@@ -199,7 +199,7 @@ export default class DownloadsDropdownMenuView {
|
|||||||
|
|
||||||
repositionDownloadsDropdownMenu = () => {
|
repositionDownloadsDropdownMenu = () => {
|
||||||
this.bounds = this.getBounds(DOWNLOADS_DROPDOWN_MENU_FULL_WIDTH, DOWNLOADS_DROPDOWN_MENU_FULL_HEIGHT);
|
this.bounds = this.getBounds(DOWNLOADS_DROPDOWN_MENU_FULL_WIDTH, DOWNLOADS_DROPDOWN_MENU_FULL_HEIGHT);
|
||||||
if (downloadsManager.getIsOpen()) {
|
if (this.open) {
|
||||||
this.view.setBounds(this.bounds);
|
this.view.setBounds(this.bounds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user