post merge fix
This commit is contained in:
@@ -183,7 +183,7 @@ const SpotlightItem: FC<SpotlightItemProps> = ({
|
|||||||
// Whenever bounds change, inform the viewModel
|
// Whenever bounds change, inform the viewModel
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (bounds.width > 0 && bounds.height > 0) {
|
if (bounds.width > 0 && bounds.height > 0) {
|
||||||
if (!(vm instanceof ScreenShareViewModel)) {
|
if (vm.type != "screen share") {
|
||||||
vm.setActualDimensions(bounds.width, bounds.height);
|
vm.setActualDimensions(bounds.width, bounds.height);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user