@raydiant/playlist-window-manager 0.0.0-test-24 → 0.0.0-test-25

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.
@@ -426,9 +426,9 @@ var BrowserWindowRenderer = /** @class */ (function () {
426
426
  this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds3: bounds are equal");
427
427
  return;
428
428
  }
429
- if (!(0, boundUtils_1.areBoundsEqual)(window.getBounds(), bounds)) {
430
- this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds4: setBounds");
431
- window.setBounds(bounds);
429
+ if ((0, boundUtils_1.isFullscreen)(bounds) !== window.isFullScreen()) {
430
+ this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds4: setFullScreen");
431
+ window.setFullScreen((0, boundUtils_1.isFullscreen)(bounds));
432
432
  }
433
433
  this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds5: ".concat(JSON.stringify({
434
434
  fullscreen: window.isFullScreen(),
@@ -437,9 +437,9 @@ var BrowserWindowRenderer = /** @class */ (function () {
437
437
  contentBounds: window.getContentBounds(),
438
438
  normalBounds: window.getNormalBounds(),
439
439
  })));
440
- if ((0, boundUtils_1.isFullscreen)(bounds) !== window.isFullScreen()) {
441
- this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds6: setFullScreen");
442
- window.setFullScreen((0, boundUtils_1.isFullscreen)(bounds));
440
+ if (!(0, boundUtils_1.areBoundsEqual)(window.getBounds(), bounds)) {
441
+ this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds6: setBounds");
442
+ window.setBounds(bounds);
443
443
  }
444
444
  this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds7: ".concat(JSON.stringify({
445
445
  fullscreen: window.isFullScreen(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raydiant/playlist-window-manager",
3
- "version": "0.0.0-test-24",
3
+ "version": "0.0.0-test-25",
4
4
  "description": "Window manager for playlist playback.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -553,11 +553,11 @@ export default class BrowserWindowRenderer
553
553
  return;
554
554
  }
555
555
 
556
- if (!areBoundsEqual(window.getBounds(), bounds)) {
556
+ if (isFullscreen(bounds) !== window.isFullScreen()) {
557
557
  this.logger.info(
558
- `playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds4: setBounds`
558
+ `playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds4: setFullScreen`
559
559
  );
560
- window.setBounds(bounds);
560
+ window.setFullScreen(isFullscreen(bounds));
561
561
  }
562
562
 
563
563
  this.logger.info(
@@ -572,11 +572,11 @@ export default class BrowserWindowRenderer
572
572
  )}`
573
573
  );
574
574
 
575
- if (isFullscreen(bounds) !== window.isFullScreen()) {
575
+ if (!areBoundsEqual(window.getBounds(), bounds)) {
576
576
  this.logger.info(
577
- `playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds6: setFullScreen`
577
+ `playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds6: setBounds`
578
578
  );
579
- window.setFullScreen(isFullscreen(bounds));
579
+ window.setBounds(bounds);
580
580
  }
581
581
 
582
582
  this.logger.info(