avoid using useContentSize when creating a new window (#1197)

This commit is contained in:
Alberto Iannaccone 2022-07-18 10:46:30 +02:00 committed by GitHub
parent 57841b3c0a
commit 99664ee544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,9 +363,8 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
options.webPreferences = {};
}
options.webPreferences.v8CacheOptions = 'bypassHeatCheck'; // TODO: verify this. VS Code use this V8 option.
options.useContentSize = true;
options.minWidth = 680;
options.minHeight = 565;
options.minHeight = 593;
return options;
}