Downloads fixes (#2331)

* Add file extension when necessary

* [MM-48017] Set the bounds for the dropdowns on finished resize
This commit is contained in:
Devin Binnie
2022-10-28 16:19:59 -04:00
committed by GitHub
parent 911c0880dd
commit 6ae055728d
2 changed files with 13 additions and 8 deletions

View File

@@ -223,6 +223,9 @@ export class WindowManager {
const bounds = this.getBounds();
this.throttledWillResize(bounds);
ipcMain.emit(RESIZE_MODAL, null, bounds);
this.teamDropdown?.updateWindowBounds();
this.downloadsDropdown?.updateWindowBounds();
this.downloadsDropdownMenu?.updateWindowBounds();
}
this.isResizing = false;
}
@@ -254,6 +257,7 @@ export class WindowManager {
this.viewManager.setLoadingScreenBounds();
this.teamDropdown?.updateWindowBounds();
this.downloadsDropdown?.updateWindowBounds();
this.downloadsDropdownMenu?.updateWindowBounds();
ipcMain.emit(RESIZE_MODAL, null, bounds);
};