Prevent link borders from being drawn if their width is undefined
This commit is contained in:
		
							parent
							
								
									65fd2c77d0
								
							
						
					
					
						commit
						688cea0758
					
				@ -96,7 +96,7 @@ var Annotation = (function AnnotationClosure() {
 | 
			
		||||
      data.borderWidth = borderStyle.has('W') ? borderStyle.get('W') : 1;
 | 
			
		||||
    } else {
 | 
			
		||||
      var borderArray = dict.get('Border') || [0, 0, 1];
 | 
			
		||||
      data.borderWidth = borderArray[2];
 | 
			
		||||
      data.borderWidth = borderArray[2] || 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    this.appearance = getDefaultAppearance(dict);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user