Skip to content

Commit

Permalink
! Fix Ctrl/Cmd + C unable to copy text when viewing video (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE authored Jan 3, 2023
1 parent 43a25f8 commit 0d0d64d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/renderer/components/ft-video-player/ft-video-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,11 @@ export default Vue.extend({
return
}

// allow copying text
if ((event.ctrlKey || event.metaKey) && event.key.lowercase() === 'c') {
return
}

if (this.player !== null) {
switch (event.key) {
case ' ':
Expand Down

0 comments on commit 0d0d64d

Please sign in to comment.