mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
More cleanup regarding annotation border styles
This commit is contained in:
parent
4b6e2724ae
commit
465611a2ff
3 changed files with 5 additions and 8 deletions
|
@ -160,7 +160,6 @@ var Annotation = (function AnnotationClosure() {
|
|||
this.borderStyle.setHorizontalCornerRadius(array[0]);
|
||||
this.borderStyle.setVerticalCornerRadius(array[1]);
|
||||
this.borderStyle.setWidth(array[2]);
|
||||
this.borderStyle.setStyle('S');
|
||||
|
||||
if (array.length === 4) { // Dash array available
|
||||
this.borderStyle.setDashArray(array[3]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue