Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
child_duckling 2022-05-15 20:42:25 -07:00
commit 502a3af68e
12 changed files with 230 additions and 66 deletions

View file

@ -1076,6 +1076,11 @@ export class BrowserWindow {
BrowserWindow.win.setFullScreen(flag)
})
//Fullscreen
ipcMain.on('getFullScreen', (event, flag) => {
event.returnValue = BrowserWindow.win.isFullScreen()
})
//Fullscreen
ipcMain.on('detachDT', (_event, _) => {
BrowserWindow.win.webContents.openDevTools({mode: 'detach'});