mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-04-28 17:11:14 +00:00
Update browserWindows.js
This commit is contained in:
@@ -343,6 +343,9 @@ module.exports = (socket, app) => {
|
||||
socket.on('browserWindowSetFullScreen', (id, fullscreen) => {
|
||||
getWindowById(id)?.setFullScreen(fullscreen);
|
||||
});
|
||||
socket.on('browserWindowSetBackgroundColor', (id, color) => {
|
||||
getWindowById(id)?.setBackgroundColor(color);
|
||||
});
|
||||
socket.on('browserWindowIsFullScreen', (id) => {
|
||||
const isFullScreen = getWindowById(id)?.isFullScreen() ?? null;
|
||||
electronSocket.emit('browserWindow-isFullScreen-completed' + id, isFullScreen);
|
||||
@@ -653,4 +656,4 @@ module.exports = (socket, app) => {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=browserWindows.js.map
|
||||
//# sourceMappingURL=browserWindows.js.map
|
||||
|
||||
Reference in New Issue
Block a user