Skip to content

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.

2 participants