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
@ -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…
x
Reference in New Issue
Block a user