@raydiant/playlist-window-manager 0.0.0-test-15 → 0.0.0-test-16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,15 +85,9 @@ var BrowserWindowRenderer = /** @class */ (function () {
|
|
|
85
85
|
this.browserWindowPool = new WindowPool();
|
|
86
86
|
this.browserViewPool = new WindowPool();
|
|
87
87
|
// Create a hidden window to preload BrowserViews.
|
|
88
|
-
this.offscreenWindow = new electron_1.BrowserWindow({
|
|
89
|
-
show: false,
|
|
90
|
-
frame: this.opts.frame,
|
|
91
|
-
hasShadow: this.opts.hasShadow,
|
|
92
|
-
fullscreen: (0, boundUtils_1.isFullscreen)(this.opts.bounds),
|
|
93
|
-
webPreferences: {
|
|
88
|
+
this.offscreenWindow = new electron_1.BrowserWindow(__assign(__assign({}, this.opts.bounds), { show: false, frame: this.opts.frame, hasShadow: this.opts.hasShadow, fullscreen: (0, boundUtils_1.isFullscreen)(this.opts.bounds), webPreferences: {
|
|
94
89
|
preload: path.join(__dirname, 'preload.js'),
|
|
95
|
-
}
|
|
96
|
-
});
|
|
90
|
+
} }));
|
|
97
91
|
this.proxySettings = null;
|
|
98
92
|
this.logger = opts.logger;
|
|
99
93
|
opts.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts constructor1 ".concat(JSON.stringify(opts.bounds)));
|
package/package.json
CHANGED