fix: Restore camera layout support in image view (#1831)

* Closes #1804
This commit is contained in:
Dermot Duffy
2025-01-16 20:00:31 -08:00
committed by GitHub
parent 0911e83670
commit 57a687d659
14 changed files with 533 additions and 340 deletions
+4 -2
View File
@@ -31,6 +31,8 @@ import {
STATUS_BAR_HEIGHT_MIN,
THUMBNAIL_WIDTH_MAX,
THUMBNAIL_WIDTH_MIN,
ZOOM_MAX,
ZOOM_MIN,
} from './config/types.js';
import {
CONF_CAMERAS,
@@ -1455,8 +1457,8 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
'mdi:page-layout-body',
html`
${this._renderNumberInput(configPathZoom, {
min: 0,
max: 10,
min: ZOOM_MIN,
max: ZOOM_MAX,
label: localize('config.cameras.dimensions.layout.zoom'),
step: 0.1,
})}