修复切换全屏问题

This commit is contained in:
lyswhut
2022-03-08 18:02:45 +08:00
parent 205c99372e
commit 5e291255bb
2 changed files with 6 additions and 2 deletions
@@ -28,6 +28,7 @@ const handle_open_devtools = event => {
rendererSend(NAMES.mainWindow.open_dev_tools)
}
const handle_fullscreen = event => {
if (event.event.repeat) return
rendererInvoke(NAMES.mainWindow.fullscreen, !isFullscreen.value).then(fullscreen => {
isFullscreen.value = fullscreen
})