Merge branch 'master' of https://git.loafle.net/ucap-web/next-ucap-messenger
This commit is contained in:
commit
eb4dfdc6e5
@ -23,13 +23,16 @@ export class AppWindow {
|
|||||||
// tslint:disable-next-line: variable-name
|
// tslint:disable-next-line: variable-name
|
||||||
private _rendererReadyTime: number | null = null;
|
private _rendererReadyTime: number | null = null;
|
||||||
|
|
||||||
private minWidth = 1160;
|
private minWidth = 700;
|
||||||
private minHeight = 800;
|
private minHeight = 600;
|
||||||
|
|
||||||
|
private defaultWidth = 1160;
|
||||||
|
private defaultHeight = 800;
|
||||||
|
|
||||||
public constructor(private appIconPath: string) {
|
public constructor(private appIconPath: string) {
|
||||||
const savedWindowState = windowStateKeeper({
|
const savedWindowState = windowStateKeeper({
|
||||||
defaultWidth: this.minWidth,
|
defaultWidth: this.defaultWidth,
|
||||||
defaultHeight: this.minHeight
|
defaultHeight: this.defaultHeight
|
||||||
});
|
});
|
||||||
|
|
||||||
const windowOptions: Electron.BrowserWindowConstructorOptions = {
|
const windowOptions: Electron.BrowserWindowConstructorOptions = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user