mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-22 06:54:44 +00:00
Update browserWindows.ts
This commit is contained in:
@@ -389,7 +389,11 @@ export = (socket: Socket, app: Electron.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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user