feat(webcam): add mirror toggle to settings

Closes #363
This commit is contained in:
webadderall
2026-04-27 16:13:58 +10:00
parent fb34bf2ef9
commit b4b009fafa
8 changed files with 17 additions and 0 deletions
@@ -2848,6 +2848,16 @@ export function SettingsPanel({
className="data-[state=checked]:bg-[#2563EB] scale-75"
/>
</div>
<div className="flex items-center justify-between rounded-lg bg-foreground/[0.03] px-2.5 py-1.5">
<span className="text-[10px] text-muted-foreground">
{tSettings("effects.webcamMirror", "Mirror Webcam")}
</span>
<Switch
checked={webcam?.mirror ?? defaultWebcam.mirror}
onCheckedChange={(mirror) => updateWebcam({ mirror })}
className="data-[state=checked]:bg-[#2563EB] scale-75"
/>
</div>
<div className="flex items-center justify-between rounded-lg bg-foreground/[0.03] px-2.5 py-1.5">
<span className="text-[10px] text-muted-foreground">
{tSettings("effects.webcamReactToZoom")}
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "Webcam footage linked",
"webcamFootageRemoved": "Webcam footage removed",
"webcamSize": "Webcam Size",
"webcamMirror": "Mirror Webcam",
"webcamReactToZoom": "Webcam Reacts To Zoom",
"webcamRoundness": "Webcam Roundness",
"webcamShadow": "Webcam Shadow",
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "Metraje de cámara vinculado",
"webcamFootageRemoved": "Metraje de cámara eliminado",
"webcamSize": "Tamaño de cámara",
"webcamMirror": "Reflejar cámara",
"webcamReactToZoom": "La cámara reacciona al zoom",
"webcamRoundness": "Redondez de cámara",
"webcamShadow": "Sombra de cámara",
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "Vidéo de webcam liée",
"webcamFootageRemoved": "Vidéo de webcam supprimée",
"webcamSize": "Taille de la webcam",
"webcamMirror": "Inverser la webcam",
"webcamReactToZoom": "La webcam réagit au zoom",
"webcamRoundness": "Arrondi de la webcam",
"webcamShadow": "Ombre de la webcam",
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "웹캠 영상을 연결했습니다",
"webcamFootageRemoved": "웹캠 영상을 제거했습니다",
"webcamSize": "웹캠 크기",
"webcamMirror": "웹캠 좌우 반전",
"webcamReactToZoom": "확대 시 웹캠 반응",
"webcamRoundness": "웹캠 둥글기",
"webcamShadow": "웹캠 그림자",
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "Webcambeelden gekoppeld",
"webcamFootageRemoved": "Webcambeelden verwijderd",
"webcamSize": "Webcamgrootte",
"webcamMirror": "Webcam spiegelen",
"webcamReactToZoom": "Webcam reageert op zoom",
"webcamRoundness": "Webcam-afronding",
"webcamShadow": "Webcamschaduw",
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "Filmagem da webcam vinculada",
"webcamFootageRemoved": "Filmagem da webcam removida",
"webcamSize": "Tamanho da webcam",
"webcamMirror": "Espelhar webcam",
"webcamReactToZoom": "Webcam reage ao zoom",
"webcamRoundness": "Arredondamento da webcam",
"webcamShadow": "Sombra da webcam",
+1
View File
@@ -85,6 +85,7 @@
"webcamFootageAdded": "已关联摄像头素材",
"webcamFootageRemoved": "已移除摄像头素材",
"webcamSize": "摄像头大小",
"webcamMirror": "镜像摄像头",
"webcamReactToZoom": "摄像头随缩放变化",
"webcamRoundness": "摄像头圆角",
"webcamShadow": "摄像头阴影",