Merge pull request #965 from jitsi/raise-hand-update
Updates raised hand to overwrite dominant speaker.
This commit is contained in:
commit
4ffe013165
|
@ -1812,14 +1812,10 @@ export default {
|
|||
},
|
||||
|
||||
/**
|
||||
* Toggles the local "raised hand" status, if the current state allows
|
||||
* toggling.
|
||||
* Toggles the local "raised hand" status.
|
||||
*/
|
||||
maybeToggleRaisedHand() {
|
||||
// If we are the dominant speaker, we don't enable "raise hand".
|
||||
if (this.isHandRaised || !this.isDominantSpeaker) {
|
||||
this.setRaisedHand(!this.isHandRaised);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -593,6 +593,9 @@ var VideoLayout = {
|
|||
? localVideoThumbnail : remoteVideos[id];
|
||||
if (video) {
|
||||
video.showRaisedHandIndicator(raisedHandStatus);
|
||||
if (raisedHandStatus) {
|
||||
video.showDominantSpeakerIndicator(false);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue