mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
formatting
This commit is contained in:
@@ -5,6 +5,7 @@ import * as path from 'path';
|
|||||||
import * as url from 'url';
|
import * as url from 'url';
|
||||||
|
|
||||||
import { isDev, isMacAppStore, isSnapStore } from './utils';
|
import { isDev, isMacAppStore, isSnapStore } from './utils';
|
||||||
|
|
||||||
import { StorageService } from '../abstractions/storage.service';
|
import { StorageService } from '../abstractions/storage.service';
|
||||||
|
|
||||||
const WindowEventHandlingDelay = 100;
|
const WindowEventHandlingDelay = 100;
|
||||||
@@ -15,10 +16,10 @@ const Keys = {
|
|||||||
export class WindowMain {
|
export class WindowMain {
|
||||||
win: BrowserWindow;
|
win: BrowserWindow;
|
||||||
isQuitting: boolean = false;
|
isQuitting: boolean = false;
|
||||||
enableAlwaysOnTop: boolean = false;
|
|
||||||
|
|
||||||
private windowStateChangeTimer: NodeJS.Timer;
|
private windowStateChangeTimer: NodeJS.Timer;
|
||||||
private windowStates: { [key: string]: any; } = {};
|
private windowStates: { [key: string]: any; } = {};
|
||||||
|
private enableAlwaysOnTop: boolean = false;
|
||||||
|
|
||||||
constructor(private storageService: StorageService, private hideTitleBar = false,
|
constructor(private storageService: StorageService, private hideTitleBar = false,
|
||||||
private defaultWidth = 950, private defaultHeight = 600) { }
|
private defaultWidth = 950, private defaultHeight = 600) { }
|
||||||
|
|||||||
Reference in New Issue
Block a user