mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-12 12:39:30 +01:00
Theatre mode icon accounts for default theatre mode being ignored when switching between videos (#1632)
This commit is contained in:
parent
48493d12f4
commit
c3105f46e5
@ -165,10 +165,6 @@ export default Vue.extend({
|
||||
return this.$store.getters.getDefaultVideoFormat
|
||||
},
|
||||
|
||||
defaultTheatreMode: function () {
|
||||
return this.$store.getters.getDefaultTheatreMode
|
||||
},
|
||||
|
||||
autoplayVideos: function () {
|
||||
return this.$store.getters.getAutoplayVideos
|
||||
},
|
||||
@ -982,7 +978,7 @@ export default Vue.extend({
|
||||
return
|
||||
}
|
||||
|
||||
const theatreModeActive = this.defaultTheatreMode ? ' vjs-icon-theatre-active' : ''
|
||||
const theatreModeActive = this.$parent.useTheatreMode ? ' vjs-icon-theatre-active' : ''
|
||||
|
||||
const VjsButton = videojs.getComponent('Button')
|
||||
const toggleTheatreModeButton = videojs.extend(VjsButton, {
|
||||
|
Loading…
Reference in New Issue
Block a user