We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5321137 commit d51344eCopy full SHA for d51344e
src/components/QrcodeStream.vue
@@ -230,7 +230,7 @@ export default {
230
const ctx = canvas.getContext("2d");
231
232
const displayWidth = video.offsetWidth;
233
- const displayHeight = video.offsetWidth;
+ const displayHeight = video.offsetHeight;
234
const resolutionWidth = video.videoWidth;
235
const resolutionHeight = video.videoHeight;
236
0 commit comments