mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[bug] Properly define stored window state (#638)
This commit is contained in:
10
common/src/models/domain/windowState.ts
Normal file
10
common/src/models/domain/windowState.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user