Skip to content

Commit 30a42c8

Browse files
committed
Speed up PDF mask removal to avoid delay when PDF page count is reduced
1 parent 5166921 commit 30a42c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viewer/components/refresh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ function removeMasks(masks: HTMLDivElement[]) {
234234
for (const mask of masks) {
235235
mask.remove()
236236
}
237-
}, 1000)
237+
}, 250)
238238
}

0 commit comments

Comments
 (0)