mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Enable the ESLint operator-assignment
rule
This patch was generated automatically, using the `gulp lint --fix` command. Please find additional details about the ESLint rule at https://eslint.org/docs/rules/operator-assignment
This commit is contained in:
parent
de80590157
commit
901b24e8af
13 changed files with 35 additions and 36 deletions
|
@ -202,8 +202,8 @@ class AnnotationElement {
|
|||
// Underline styles only have a bottom border, so we do not need
|
||||
// to adjust for all borders. This yields a similar result as
|
||||
// Adobe Acrobat/Reader.
|
||||
width = width - 2 * data.borderStyle.width;
|
||||
height = height - 2 * data.borderStyle.width;
|
||||
width -= 2 * data.borderStyle.width;
|
||||
height -= 2 * data.borderStyle.width;
|
||||
}
|
||||
|
||||
const horizontalRadius = data.borderStyle.horizontalCornerRadius;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue