Skip to content

Commit d51344e

Browse files
b4r7gruhn
authored andcommitted
fix(QrcodeStream): reference to offsetHeight
1 parent 5321137 commit d51344e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/QrcodeStream.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export default {
230230
const ctx = canvas.getContext("2d");
231231
232232
const displayWidth = video.offsetWidth;
233-
const displayHeight = video.offsetWidth;
233+
const displayHeight = video.offsetHeight;
234234
const resolutionWidth = video.videoWidth;
235235
const resolutionHeight = video.videoHeight;
236236

0 commit comments

Comments
 (0)