Browse Source

Merge pull request #11726 from nextcloud/fix/noid/toggle-screen-shares

fix(CallView): enforce switching to Speaker view then select screenshares
pull/11756/head
Joas Schilling 2 years ago
committed by GitHub
parent
commit
0be58c6ec9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 10
      src/components/CallView/CallView.vue
  2. 2
      src/components/CallView/shared/VideoBottomBar.vue

10
src/components/CallView/CallView.vue

@ -647,7 +647,15 @@ export default {
return
}
this.$store.dispatch('startPresentation')
if (this.$store.getters.presentationStarted) {
this.$store.dispatch('setCallViewMode', {
isGrid: false,
isStripeOpen: false,
clearLast: false,
})
} else {
this.$store.dispatch('startPresentation')
}
this.$store.dispatch('selectedVideoPeerId', null)
this.screens.splice(index, 1)
this.screens.unshift(id)

2
src/components/CallView/shared/VideoBottomBar.vue

@ -273,7 +273,7 @@ export default {
},
switchToScreen() {
if (!this.sharedData.screenVisible) {
if (!this.sharedData.screenVisible || !this.isBig) {
emit('switch-screen-to-id', this.model.attributes.peerId)
}
},

Loading…
Cancel
Save