fix layout mode click when discussion is activated
This commit is contained in:
parent
55c1bcee66
commit
80355e6b85
4 changed files with 14 additions and 0 deletions
|
@ -643,6 +643,10 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||
}
|
||||
|
||||
private switchLayoutMode(): void {
|
||||
//if discussion is activated, this layout cannot be activated
|
||||
if(mediaManager.activatedDiscussion){
|
||||
return;
|
||||
}
|
||||
const mode = layoutManager.getLayoutMode();
|
||||
if (mode === LayoutMode.Presentation) {
|
||||
layoutManager.switchLayoutMode(LayoutMode.VideoChat);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue