From 4b65ad56e83671c8b55938e5ee7b602a777b0f2e Mon Sep 17 00:00:00 2001 From: RemiSaurel Date: Wed, 24 Aug 2022 10:03:18 +0200 Subject: [PATCH] hotfix pause --- src/components/Pomodoro.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Pomodoro.vue b/src/components/Pomodoro.vue index 2f612a2..f5dff77 100644 --- a/src/components/Pomodoro.vue +++ b/src/components/Pomodoro.vue @@ -163,7 +163,7 @@ export default { } this.prettyTime(); expected += interval; - this.timeout = setTimeout(stepFunc, Math.max(0, interval - dt)); + this.timeout = setTimeout(this.countDownTimer, Math.max(0, interval - dt)); } this.timeout = setTimeout(stepFunc, interval) }