Fix issue #12684: replace bitwise ORs by ORs

This commit is contained in:
Calixte Denizet 2020-12-02 23:02:11 +01:00
parent a618b02e62
commit d4f4b43d29

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() {