Fix birdseye camera comparison (#9887)

This commit is contained in:
Nicolas Mowen 2024-02-16 07:43:46 -07:00 committed by GitHub
parent 616eb5f96a
commit 42bf614131
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -445,7 +445,7 @@ class BirdsEyeFrameManager:
if len(self.active_cameras) - len(active_cameras) == 0: if len(self.active_cameras) - len(active_cameras) == 0:
if ( if (
len(self.active_cameras) == 1 len(self.active_cameras) == 1
and self.active_cameras[0] == active_cameras[0] and self.active_cameras != active_cameras
): ):
reset_layout = True reset_layout = True
elif max_camera_refresh: elif max_camera_refresh: