mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #16844 from Snuffleupagus/StampEditor-isEmpty
Update the `StampEditor.isEmpty` method to handle File (PR 16828 follow-up)
This commit is contained in:
commit
60581c427e
1 changed files with 5 additions and 4 deletions
|
@ -221,10 +221,11 @@ class StampEditor extends AnnotationEditor {
|
|||
|
||||
/** @inheritdoc */
|
||||
isEmpty() {
|
||||
return (
|
||||
this.#bitmapPromise === null &&
|
||||
this.#bitmap === null &&
|
||||
this.#bitmapUrl === null
|
||||
return !(
|
||||
this.#bitmapPromise ||
|
||||
this.#bitmap ||
|
||||
this.#bitmapUrl ||
|
||||
this.#bitmapFile
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue