Skip to content

Commit

Permalink
Merge pull request #12685 from calixteman/12684
Browse files Browse the repository at this point in the history
Fix issue #12684: replace bitwise ORs by ORs
  • Loading branch information
calixteman authored Dec 3, 2020
2 parents a618b02 + d4f4b43 commit c1f41df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripting_api/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c1f41df

Please sign in to comment.