mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
* fix: manage zoom factor when opening / closing the application * Fix zoom factor type and removed useless instruction * Specified WindowState as the type of windowStates
12 lines
338 B
TypeScript
12 lines
338 B
TypeScript
export class WindowState {
|
|
width?: number;
|
|
height?: number;
|
|
isMaximized?: boolean;
|
|
// TODO: displayBounds is an Electron.Rectangle.
|
|
// We need to establish some kind of client-specific global state, similiar to the way we already extend a base Account.
|
|
displayBounds: any;
|
|
x?: number;
|
|
y?: number;
|
|
zoomFactor?: number;
|
|
}
|