|
@@ -4304,7 +4304,6 @@ class ComPDFKitViewer {
|
|
|
const redactions = Array.isArray(redaction) ? redaction : [redaction]
|
|
|
redactionList = redactions
|
|
|
}
|
|
|
- console.log(redactionList)
|
|
|
redactionList.forEach(async item => {
|
|
|
if (item.erasure) {
|
|
|
await this.messageHandler.sendWithPromise('ErasureRedactionFromRect', { pagePtr: item.pagePtr, rect: item.rect })
|
|
@@ -4317,7 +4316,7 @@ class ComPDFKitViewer {
|
|
|
await this.delAnnotations(this.redactionList)
|
|
|
this.redactionList.length = 0
|
|
|
}
|
|
|
- this.pdfViewer.refresh()
|
|
|
+ await this.updateTextPtr()
|
|
|
}
|
|
|
}
|
|
|
|