Skip to content

Commit

Permalink
fix(QrcodeStream): reference to offsetHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
b4r7 authored and gruhn committed Jul 31, 2019
1 parent 5321137 commit d51344e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/QrcodeStream.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default {
const ctx = canvas.getContext("2d");
const displayWidth = video.offsetWidth;
const displayHeight = video.offsetWidth;
const displayHeight = video.offsetHeight;
const resolutionWidth = video.videoWidth;
const resolutionHeight = video.videoHeight;
Expand Down

0 comments on commit d51344e

Please sign in to comment.