Skip to content

Commit

Permalink
Frontend: Mark outside of controls when clicking the player
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinSRG committed Sep 19, 2023
1 parent 8c9cbf3 commit 248a650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/player/AudioPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ export default defineComponent({
},
clickPlayer: function () {
this.leaveControls();
if (this.displayConfig || this.contextMenuShown) {
this.displayConfig = false;
this.contextMenuShown = false;
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/player/VideoPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ export default defineComponent({
},
clickPlayer: function () {
this.leaveControls();
if (this.displayConfig || this.contextMenuShown) {
this.displayConfig = false;
this.contextMenuShown = false;
Expand Down

0 comments on commit 248a650

Please sign in to comment.