Allow 90-deg rotation of USB cameras on Pi (#1103)

UI would say that every camera on a Pi device was a CSI camera basically. It would not let you rotate usb cameras 90 degrees or 270 degrees because it thought that they were CSI cameras. Fixes: #1098
This commit is contained in:
Programmers3539
2024-01-02 07:27:09 -08:00
committed by GitHub
parent 96de176ba2
commit 2a1792e71a
6 changed files with 12 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ const cameraRotations = computed(() =>
["Normal", "90° CW", "180°", "90° CCW"].map((v, i) => ({
name: v,
value: i,
disabled: useSettingsStore().gpuAccelerationEnabled ? [1, 3].includes(i) : false
disabled: useCameraSettingsStore().isCSICamera ? [1, 3].includes(i) : false
}))
);