mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 00:02:49 +00:00
post merge fix
This commit is contained in:
1 parent
c199d00300
commit
adc329a7e7
1 file changed
+1
-1
@@ -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