🐛 traffic lights hidden in fullscreen
This commit is contained in:
@@ -242,13 +242,6 @@ function createWindow(): BrowserWindow {
|
|||||||
mainWindow.show()
|
mainWindow.show()
|
||||||
})
|
})
|
||||||
|
|
||||||
mainWindow.on('enter-full-screen', () => {
|
|
||||||
mainWindow.setWindowButtonVisibility(false)
|
|
||||||
})
|
|
||||||
|
|
||||||
mainWindow.on('leave-full-screen', () => {
|
|
||||||
mainWindow.setWindowButtonVisibility(true)
|
|
||||||
})
|
|
||||||
|
|
||||||
mainWindow.webContents.setWindowOpenHandler((details) => {
|
mainWindow.webContents.setWindowOpenHandler((details) => {
|
||||||
shell.openExternal(details.url)
|
shell.openExternal(details.url)
|
||||||
|
|||||||
Reference in New Issue
Block a user