Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MultiFormatReader example in README.md #510

Merged
merged 1 commit into from Apr 26, 2022
Merged

Update MultiFormatReader example in README.md #510

merged 1 commit into from Apr 26, 2022

Conversation

inokawa
Copy link
Contributor

@inokawa inokawa commented Feb 28, 2022

If we call decode of MultiFormatReader without hints argument, this.hints seems overrided with undefined.

public decode(image: BinaryBitmap, hints?: Map<DecodeHintType, any>): Result {
this.setHints(hints);
return this.decodeInternal(image);
}

public setHints(hints?: Map<DecodeHintType, any> | null): void {
this.hints = hints;

@werthdavid werthdavid merged commit 4c35d16 into zxing-js:master Apr 26, 2022
@inokawa inokawa deleted the patch-1 branch April 26, 2022 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants