Skip to content

Commit

Permalink
Fix pending_capture_reinit condition
Browse files Browse the repository at this point in the history
  • Loading branch information
juncenterisland committed Oct 5, 2024
1 parent 606c08f commit 4a0cf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/ocr/TetrisOCR.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export default class TetrisOCR extends EventTarget {
}

processsFrameStep1(frame) {
if (!this.capture_canvas_ctx || !this.pending_capture_reinit) {
if (!this.capture_canvas_ctx || this.pending_capture_reinit) {
this.initCaptureContext(frame);
}

Expand Down

0 comments on commit 4a0cf2e

Please sign in to comment.