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 */
|
/** @inheritdoc */
|
||||||
isEmpty() {
|
isEmpty() {
|
||||||
return (
|
return !(
|
||||||
this.#bitmapPromise === null &&
|
this.#bitmapPromise ||
|
||||||
this.#bitmap === null &&
|
this.#bitmap ||
|
||||||
this.#bitmapUrl === null
|
this.#bitmapUrl ||
|
||||||
|
this.#bitmapFile
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user