mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
* WIP: First Try at making DesktopSettingsService Does not work, migrations are ran in renderer but the values are read in main. * Update window$ retrieval * Fix DesktopSettings * Rename Migration * Add Migration to Builder * Cleanup * Update Comments * Update `migrate.ts` * Catch Unawaited Promises * Remove Comments * Update Tests * Rename Migration * Add `alwaysOnTop` * Make `init` async * Fix Desktop Build
12 lines
352 B
TypeScript
12 lines
352 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, similar to the way we already extend a base Account.
|
|
displayBounds: Electron.Rectangle;
|
|
x?: number;
|
|
y?: number;
|
|
zoomFactor?: number;
|
|
}
|