mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-28 00:08:58 +03:00
clean up
This commit is contained in:
@@ -168,8 +168,8 @@
|
|||||||
"desc": "Always show the camera names in a chip in the multi-camera live view dashboard."
|
"desc": "Always show the camera names in a chip in the multi-camera live view dashboard."
|
||||||
},
|
},
|
||||||
"naturalAspectLayout": {
|
"naturalAspectLayout": {
|
||||||
"label": "Use Camera Aspect Ratios",
|
"label": "Use Natural Aspect Ratios",
|
||||||
"desc": "On camera group live view dashboards, size each tile to its camera's own aspect ratio. When disabled, cameras are snapped to a standard wide, landscape, or tall tile shape.",
|
"desc": "On camera group live view dashboards, size each tile to its camera's own natural aspect ratio. When disabled, cameras are snapped to a standard wide, landscape, or tall tile shape.",
|
||||||
"descNote": "Toggling this setting on or off will clear the layout for all camera group live dashboards."
|
"descNote": "Toggling this setting on or off will clear the layout for all camera group live dashboards."
|
||||||
},
|
},
|
||||||
"liveFallbackTimeout": {
|
"liveFallbackTimeout": {
|
||||||
|
|||||||
@@ -60,8 +60,6 @@ export default function BirdseyeLivePlayer({
|
|||||||
<div
|
<div
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
className={cn(
|
className={cn(
|
||||||
// matches LivePlayer: the card owns the corner and clips everything
|
|
||||||
// inside it, so the stream and the overlays stay concentric with it
|
|
||||||
"relative flex w-full cursor-pointer justify-center overflow-hidden rounded-lg md:rounded-2xl",
|
"relative flex w-full cursor-pointer justify-center overflow-hidden rounded-lg md:rounded-2xl",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -54,9 +54,6 @@ type LivePlayerProps = {
|
|||||||
onError?: (error: LivePlayerError) => void;
|
onError?: (error: LivePlayerError) => void;
|
||||||
onMicrophoneError?: (error: TwoWayTalkError) => void;
|
onMicrophoneError?: (error: TwoWayTalkError) => void;
|
||||||
onResetLiveMode?: () => void;
|
onResetLiveMode?: () => void;
|
||||||
// Aspect of the source currently on screen: the live stream's while it is
|
|
||||||
// playing, undefined while the still image is showing. The still comes from
|
|
||||||
// the detect stream, which can be shaped differently than the live one.
|
|
||||||
onLiveAspectChange?: (aspectRatio: number | undefined) => void;
|
onLiveAspectChange?: (aspectRatio: number | undefined) => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user