From e0e7b5053a220e647365b2ac93514fd5a53eab73 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Tue, 16 Aug 2022 18:57:07 +0800 Subject: [PATCH] ! Fix Cmd+M unable to minimize window when viewing video (#2486) --- src/renderer/components/ft-video-player/ft-video-player.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index 2152a343..f15ebbd6 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -1807,8 +1807,10 @@ export default Vue.extend({ case 77: // M Key // Toggle Mute - event.preventDefault() - this.toggleMute() + if (!event.metaKey) { + event.preventDefault() + this.toggleMute() + } break case 67: // C Key