File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,7 @@ export default {
9898 {deviceId: {exact: selectedCameraId .value ?? defaultCameraId}},
9999 getCameraScanConfig (),
100100 onScanSuccess,
101- onError
102- );
101+ onError);
103102 if (! selectedCameraId .value && cameraList .value .length ) {
104103 const selectedCamera = scanner .getRunningTrackSettings ()? .deviceId ;
105104 updateSelectedCamera (selectedCamera);
@@ -214,7 +213,7 @@ export default {
214213 function getCameraScanConfig () {
215214 const width = window .innerWidth ;
216215 const height = window .innerHeight ;
217- // Must parse float aspect ratio value
216+ // must parse float aspect ratio value
218217 const landscapeAspectRatio = parseFloat ((width / height).toFixed (3 ));
219218 const portraitAspectRatio = parseFloat ((height / width).toFixed (3 ));
220219 return {
You can’t perform that action at this time.
0 commit comments