Skip to content

Commit 3b4d6db

Browse files
committed
Remove pausable check from resume()
1 parent 3f5bc40 commit 3b4d6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ToastItem.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const pause = () => {
3030
}
3131
3232
const resume = () => {
33-
if (item.pausable && paused) {
33+
if (paused) {
3434
const remaining = item.duration - (item.duration * (($progress - prev) / (next - prev)))
3535
progress.set(next, { duration: remaining }).then(autoclose)
3636
paused = false

0 commit comments

Comments
 (0)