fix: Fix useCameraDevices
ignoring position
This commit is contained in:
parent
844759e5b1
commit
edd73619c3
@ -44,7 +44,7 @@ export function getCameraDevice(devices: CameraDevice[], position: CameraPositio
|
||||
if (bestDevice == null) return undefined
|
||||
|
||||
// Compare each device using a point scoring system
|
||||
for (const device of devices) {
|
||||
for (const device of filtered) {
|
||||
let leftPoints = 0
|
||||
let rightPoints = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user