Use BaseViewer.previousPage more in the default viewer (PR 12870 follow-up)
				
					
				
			I missed this one spot in PR 12870, when converting the other cases in the "keydown" event handler. However, given that it only matters in PresentationMode and/or when "page-fit" zooming is enabled, this oversight shouldn't have had any user-observable impact (but we should fix it nonetheless).
This commit is contained in:
		
							parent
							
								
									6a15973a1b
								
							
						
					
					
						commit
						d6e8b8fbc1
					
				| @ -3057,9 +3057,8 @@ function webViewerKeyDown(evt) { | |||||||
|         ) { |         ) { | ||||||
|           break; |           break; | ||||||
|         } |         } | ||||||
|         if (PDFViewerApplication.page > 1) { |         pdfViewer.previousPage(); | ||||||
|           PDFViewerApplication.page--; | 
 | ||||||
|         } |  | ||||||
|         handled = true; |         handled = true; | ||||||
|         break; |         break; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user