mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-05-20 20:36:35 +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);
|
||||
|
||||
Reference in New Issue
Block a user