Merge pull request #12685 from calixteman/12684

Fix issue #12684: replace bitwise ORs by ORs
This commit is contained in:
calixteman 2020-12-03 14:45:56 +01:00 committed by GitHub
commit c1f41df4ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,9 +72,9 @@ class Field extends PDFObject {
this._document = data.doc;
this._actions = this._createActionsMap(data.actions);
this._fillColor = data.fillColor | ["T"];
this._strokeColor = data.strokeColor | ["G", 0];
this._textColor = data.textColor | ["G", 0];
this._fillColor = data.fillColor || ["T"];
this._strokeColor = data.strokeColor || ["G", 0];
this._textColor = data.textColor || ["G", 0];
}
get fillColor() {