post merge fix

This commit is contained in:
Valere
2026-03-02 14:41:47 +01:00
parent c199d00300
commit adc329a7e7

View File

@@ -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);
}
}