forked from Github/frigate
Reset preferred live modes to defaults on window visibility change (#12499)
This commit is contained in:
@@ -104,7 +104,7 @@ export default function DraggableGridLayout({
|
||||
);
|
||||
|
||||
setPreferredLiveModes(newPreferredLiveModes);
|
||||
}, [cameras, config]);
|
||||
}, [cameras, config, windowVisible]);
|
||||
|
||||
const ResponsiveGridLayout = useMemo(() => WidthProvider(Responsive), []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user