Skip to content

Commit

Permalink
fix:全屏使用DOM控制
Browse files Browse the repository at this point in the history
  • Loading branch information
houdunwang committed Jun 25, 2023
1 parent da66438 commit 3ac5fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdunren-camera",
"version": "1.0.38",
"version": "1.0.39",
"description": "方便好用的桌面摄像头软件,适合直播、录课、内容分享时使用",
"main": "./out/main/index.js",
"author": "向军大叔",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/FullScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const toggleFullScreen = () => {
isFullScreen.value = !isFullScreen.value
}
document.addEventListener('fullscreenchange', (e) => {
document.addEventListener('fullscreenchange', () => {
isFullScreen.value = Boolean(document.fullscreenElement)
})
</script>
Expand Down

0 comments on commit 3ac5fc5

Please sign in to comment.