@raydiant/playlist-window-manager 0.0.0-test-21 → 0.0.0-test-22
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.
|
@@ -440,6 +440,21 @@ var BrowserWindowRenderer = /** @class */ (function () {
|
|
|
440
440
|
contentBounds: window.getContentBounds(),
|
|
441
441
|
normalBounds: window.getNormalBounds(),
|
|
442
442
|
})));
|
|
443
|
+
if (window.isFullScreen() && !(0, boundUtils_1.isFullscreen)(window.getBounds())) {
|
|
444
|
+
this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds7: window not fullscreen: ".concat(JSON.stringify({
|
|
445
|
+
fullscreen: window.isFullScreen(),
|
|
446
|
+
bounds: window.getBounds(),
|
|
447
|
+
contentBounds: window.getContentBounds(),
|
|
448
|
+
normalBounds: window.getNormalBounds(),
|
|
449
|
+
})));
|
|
450
|
+
window.maximize();
|
|
451
|
+
}
|
|
452
|
+
this.logger.info("playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds8: last: ".concat(JSON.stringify({
|
|
453
|
+
fullscreen: window.isFullScreen(),
|
|
454
|
+
bounds: window.getBounds(),
|
|
455
|
+
contentBounds: window.getContentBounds(),
|
|
456
|
+
normalBounds: window.getNormalBounds(),
|
|
457
|
+
})));
|
|
443
458
|
};
|
|
444
459
|
BrowserWindowRenderer.prototype.getWindow = function (windowId) {
|
|
445
460
|
return this.windows[windowId];
|
package/package.json
CHANGED
|
@@ -574,6 +574,31 @@ export default class BrowserWindowRenderer
|
|
|
574
574
|
}
|
|
575
575
|
)}`
|
|
576
576
|
);
|
|
577
|
+
|
|
578
|
+
if (window.isFullScreen() && !isFullscreen(window.getBounds())) {
|
|
579
|
+
this.logger.info(
|
|
580
|
+
`playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds7: window not fullscreen: ${JSON.stringify(
|
|
581
|
+
{
|
|
582
|
+
fullscreen: window.isFullScreen(),
|
|
583
|
+
bounds: window.getBounds(),
|
|
584
|
+
contentBounds: window.getContentBounds(),
|
|
585
|
+
normalBounds: window.getNormalBounds(),
|
|
586
|
+
}
|
|
587
|
+
)}`
|
|
588
|
+
);
|
|
589
|
+
window.maximize();
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
this.logger.info(
|
|
593
|
+
`playlist-window-manager/src/BrowserWindowRenderer.ts setWindowOrViewBounds8: last: ${JSON.stringify(
|
|
594
|
+
{
|
|
595
|
+
fullscreen: window.isFullScreen(),
|
|
596
|
+
bounds: window.getBounds(),
|
|
597
|
+
contentBounds: window.getContentBounds(),
|
|
598
|
+
normalBounds: window.getNormalBounds(),
|
|
599
|
+
}
|
|
600
|
+
)}`
|
|
601
|
+
);
|
|
577
602
|
}
|
|
578
603
|
|
|
579
604
|
private getWindow(windowId: string): BrowserWindowRendererWindow | null {
|