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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
10 additions and
2 deletions
-
src/components/CallView/CallView.vue
-
src/components/CallView/shared/VideoBottomBar.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) |
|
|
|
|
|
|
|
@ -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) |
|
|
|
} |
|
|
|
}, |
|
|
|
|