This commit is contained in:
Nicolas Mowen 2024-02-16 08:35:21 -07:00 committed by GitHub
parent 42bf614131
commit 6476f8ade7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -443,10 +443,7 @@ class BirdsEyeFrameManager:
# check if we need to reset the layout because there is a different number of cameras
if len(self.active_cameras) - len(active_cameras) == 0:
if (
len(self.active_cameras) == 1
and self.active_cameras != active_cameras
):
if len(self.active_cameras) == 1 and self.active_cameras != active_cameras:
reset_layout = True
elif max_camera_refresh:
reset_layout = True