@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raydiant/playlist-window-manager",
3
- "version": "0.0.0-test-15",
3
+ "version": "0.0.0-test-16",
4
4
  "description": "Window manager for playlist playback.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -61,6 +61,7 @@ export default class BrowserWindowRenderer
61
61
 
62
62
  // Create a hidden window to preload BrowserViews.
63
63
  private offscreenWindow = new BrowserWindow({
64
+ ...this.opts.bounds,
64
65
  show: false,
65
66
  frame: this.opts.frame,
66
67
  hasShadow: this.opts.hasShadow,