Fix issue with downloads position after window (un)maximize (#2273)
This commit is contained in:
@@ -182,10 +182,14 @@ export class WindowManager {
|
||||
on = this.mainWindow?.on;
|
||||
|
||||
handleMaximizeMainWindow = () => {
|
||||
this.downloadsDropdown?.updateWindowBounds();
|
||||
this.downloadsDropdownMenu?.updateWindowBounds();
|
||||
this.sendToRenderer(MAXIMIZE_CHANGE, true);
|
||||
}
|
||||
|
||||
handleUnmaximizeMainWindow = () => {
|
||||
this.downloadsDropdown?.updateWindowBounds();
|
||||
this.downloadsDropdownMenu?.updateWindowBounds();
|
||||
this.sendToRenderer(MAXIMIZE_CHANGE, false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user