Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix image sampling when width x height < than 300x250
When qr_code div element's width x height values are lower than 300 x 250, sampling process uses fixed width x height values (307 x 250) disregarding custom values defined by user. This fix removes hard-coded width x height values and uses variables instead.
- Loading branch information
8a25457
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this fix, in cases of lower height x width values, qr reading isn't working