Skip to content
Snippets Groups Projects
Commit c7fda44b authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Resent the data event if there is no code found

In case we move it out of view and back again we want a second event. The user can filter those
out if needed.
parent 3936ce64
No related branches found
No related tags found
No related merge requests found
...@@ -315,6 +315,7 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) { ...@@ -315,6 +315,7 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) {
} else { } else {
outputMessage.hidden = false; outputMessage.hidden = false;
outputData.parentElement.hidden = true; outputData.parentElement.hidden = true;
lastSentData = null;
} }
} }
if (video.readyState === video.HAVE_ENOUGH_DATA && !scroll) { if (video.readyState === video.HAVE_ENOUGH_DATA && !scroll) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment