mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 03:14:00 +00:00
Merge remote-tracking branch 'origin/main' into fix/hal-722-radio-next-no-autoplay
This commit is contained in:
commit
a7c16a701c
159 files changed
+18779
-1999
No files matched your search
@@ -66,7 +66,6 @@ const ALLOWED_STYLES = new Set([
|
||||
'thermal',
|
||||
'anime',
|
||||
'noir',
|
||||
'snow',
|
||||
]);
|
||||
const PANEL_ALIASES = new Map([
|
||||
['data', 'data-panel'],
|
||||
@@ -1660,9 +1659,8 @@ export async function controlCctv(dataManager, args = {}, styleManager = null) {
|
||||
return {
|
||||
activeCameraId: ui.activeCameraId || null,
|
||||
activeCamera: ui.activeCamera?.name || ui.activeCamera?.id || null,
|
||||
cameraCount: Array.isArray(ui.cameras)
|
||||
? ui.cameras.length
|
||||
: ui.count || 0,
|
||||
// `count`, not `cameras.length`: reading `cameras` builds every camera.
|
||||
cameraCount: Number.isFinite(ui.count) ? ui.count : 0,
|
||||
showCoverage: !!ui.showCoverage,
|
||||
coverageMode: ui.coverageMode || (ui.showCoverage ? 'on' : 'off'),
|
||||
showProjection: !!ui.showProjection,
|
||||
|
||||
Reference in new issue
Block a user