@raydiant/playlist-window-manager 0.26.0 → 0.26.1
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.
|
@@ -86,6 +86,11 @@ var BrowserWindowRenderer = /** @class */ (function () {
|
|
|
86
86
|
// Create a hidden window to preload BrowserViews.
|
|
87
87
|
this.offscreenWindow = new electron_1.BrowserWindow({
|
|
88
88
|
show: false,
|
|
89
|
+
/**
|
|
90
|
+
* This option fixes window not being able to take fullscreen leaving
|
|
91
|
+
* 1px gap at the right and bottom of the screen.
|
|
92
|
+
*/
|
|
93
|
+
resizable: false,
|
|
89
94
|
frame: this.opts.frame,
|
|
90
95
|
hasShadow: this.opts.hasShadow,
|
|
91
96
|
webPreferences: {
|
|
@@ -124,6 +129,11 @@ var BrowserWindowRenderer = /** @class */ (function () {
|
|
|
124
129
|
})
|
|
125
130
|
: this.createOrGetPooledBrowserWindow(windowId, {
|
|
126
131
|
show: false,
|
|
132
|
+
/**
|
|
133
|
+
* This option fixes window not being able to take fullscreen leaving
|
|
134
|
+
* 1px gap at the right and bottom of the screen.
|
|
135
|
+
*/
|
|
136
|
+
resizable: false,
|
|
127
137
|
frame: this.opts.frame,
|
|
128
138
|
// NOTE: useWindowPool: true does not work with renderChildWindowsAsBrowserViews: false
|
|
129
139
|
// because the parent can't be changed after creating the BrowserWindow.
|
package/package.json
CHANGED
|
@@ -63,6 +63,11 @@ export default class BrowserWindowRenderer
|
|
|
63
63
|
// Create a hidden window to preload BrowserViews.
|
|
64
64
|
private offscreenWindow = new BrowserWindow({
|
|
65
65
|
show: false,
|
|
66
|
+
/**
|
|
67
|
+
* This option fixes window not being able to take fullscreen leaving
|
|
68
|
+
* 1px gap at the right and bottom of the screen.
|
|
69
|
+
*/
|
|
70
|
+
resizable: false,
|
|
66
71
|
frame: this.opts.frame,
|
|
67
72
|
hasShadow: this.opts.hasShadow,
|
|
68
73
|
webPreferences: {
|
|
@@ -110,6 +115,11 @@ export default class BrowserWindowRenderer
|
|
|
110
115
|
})
|
|
111
116
|
: this.createOrGetPooledBrowserWindow(windowId, {
|
|
112
117
|
show: false,
|
|
118
|
+
/**
|
|
119
|
+
* This option fixes window not being able to take fullscreen leaving
|
|
120
|
+
* 1px gap at the right and bottom of the screen.
|
|
121
|
+
*/
|
|
122
|
+
resizable: false,
|
|
113
123
|
frame: this.opts.frame,
|
|
114
124
|
// NOTE: useWindowPool: true does not work with renderChildWindowsAsBrowserViews: false
|
|
115
125
|
// because the parent can't be changed after creating the BrowserWindow.
|
package/tasks/npm-publish.sh
CHANGED
|
File without changes
|