We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
resume()
1 parent 3f5bc40 commit 3b4d6dbCopy full SHA for 3b4d6db
src/ToastItem.svelte
@@ -30,7 +30,7 @@ const pause = () => {
30
}
31
32
const resume = () => {
33
- if (item.pausable && paused) {
+ if (paused) {
34
const remaining = item.duration - (item.duration * (($progress - prev) / (next - prev)))
35
progress.set(next, { duration: remaining }).then(autoclose)
36
paused = false
0 commit comments