Skip to content

Commit

Permalink
Rename v-fullscreenButtonDisplay to v-fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
rtritto committed Feb 22, 2025
1 parent bf65b6a commit 6693471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export default class Player {
// @ts-ignore: Object is possibly 'null'.
this.elements.container[requestFn]()
this.isFullScreen = true
this.elements.outerContainer.classList.add('v-fullscreenButtonDisplay')
this.elements.outerContainer.classList.add('v-fullscreen')

if (this.elements.fullscreen) {
this.elements.fullscreen.classList.add('v-controlPressed')
Expand All @@ -513,7 +513,7 @@ export default class Player {
!escKey && document[cancelFn]()
this.isFullScreen = false

this.elements.outerContainer.classList.remove('v-fullscreenButtonDisplay')
this.elements.outerContainer.classList.remove('v-fullscreen')

if (this.elements.fullscreen) {
this.elements.fullscreen.classList.remove('v-controlPressed')
Expand Down

0 comments on commit 6693471

Please sign in to comment.