Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
core: reset time to return to Startpage on countdown
Browse files Browse the repository at this point in the history
Might fix #272
  • Loading branch information
andi34 authored Jul 11, 2021
1 parent b50f250 commit 8d1215c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ const photoBooth = (function () {
cb();
}
count++;
api.resetTimeOut();
if (config.preview.mode === 'gphoto' && config.picture.no_cheese && count === stop) {
api.stopPreviewVideo();
}
Expand Down

0 comments on commit 8d1215c

Please sign in to comment.