Reposition 3-dot menu only when it is open (#2304)

This commit is contained in:
Tasos Boulis
2022-10-21 16:16:39 +03:00
committed by GitHub
parent 179eacb582
commit f7f38102d8

View File

@@ -199,7 +199,7 @@ export default class DownloadsDropdownMenuView {
repositionDownloadsDropdownMenu = () => {
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);
}
}