Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
feat: when collaboration is false, the modals is always in the center
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossantos74 committed Dec 15, 2023
1 parent c843d75 commit f40606a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/video/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ export class VideoConference extends BaseComponent {
customColors: config.get<ColorsVariables>('colors'),
collaborationMode: this.params?.collaborationMode?.enabled ?? true,
layoutPosition:
(this.params?.collaborationMode?.modalPosition as LayoutPosition) ?? LayoutPosition.CENTER,
this.params?.collaborationMode?.enabled === false
? LayoutPosition.CENTER
: (this.params?.collaborationMode?.modalPosition as LayoutPosition) ??
LayoutPosition.CENTER,
layoutMode: (this.params?.collaborationMode?.initialView as LayoutMode) ?? LayoutMode.LIST,
waterMark: this.showWaterMarkType,
};
Expand Down

0 comments on commit f40606a

Please sign in to comment.