Merge pull request #599 from robintown/simplify-maximised

Further simplify the maximised speaker view
This commit is contained in:
Robin 2022-09-23 00:30:44 -04:00 committed by GitHub
commit ae66e4b3f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
ref={ref}
{...rest}
>
{toolbarButtons.length > 0 && (
{toolbarButtons.length > 0 && !maximised && (
<div className={classNames(styles.toolbar)}>{toolbarButtons}</div>
)}
{videoMuted && (

View file

@ -109,7 +109,7 @@ export function VideoTileContainer({
onFullscreen={onFullscreenCallback}
{...rest}
/>
{videoTileSettingsModalState.isOpen && (
{videoTileSettingsModalState.isOpen && !maximised && (
<VideoTileSettingsModal
{...videoTileSettingsModalProps}
feed={item.callFeed}