mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-10 05:57:07 +00:00
post merge fix
This commit is contained in:
@@ -183,7 +183,7 @@ const SpotlightItem: FC<SpotlightItemProps> = ({
|
||||
// Whenever bounds change, inform the viewModel
|
||||
useEffect(() => {
|
||||
if (bounds.width > 0 && bounds.height > 0) {
|
||||
if (!(vm instanceof ScreenShareViewModel)) {
|
||||
if (vm.type != "screen share") {
|
||||
vm.setActualDimensions(bounds.width, bounds.height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user