mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add a new Page scrolling mode (issue 2638, 8952, 10907)
This implements a new Page scrolling mode, essentially bringing (and extending) the functionality from `PDFSinglePageViewer` into the regular `PDFViewer`-class. Compared to `PDFSinglePageViewer`, which as its name suggests will only display one page at a time, in the `PDFViewer`-implementation this new Page scrolling mode also support spreadModes properly (somewhat similar to e.g. Adobe Reader). Given the size and scope of these changes, I've tried to focus on implementing the basic functionality. Hence there's room for further clean-up and/or improvements, including e.g. simplifying the CSS/JS related to PresentationMode and implementing easier page-switching with the mouse-wheel/arrow-keys.
This commit is contained in:
parent
3945965605
commit
511458fbbc
14 changed files with 296 additions and 244 deletions
|
@ -61,6 +61,8 @@ cursor_text_select_tool_label=Text Selection Tool
|
|||
cursor_hand_tool.title=Enable Hand Tool
|
||||
cursor_hand_tool_label=Hand Tool
|
||||
|
||||
scroll_page.title=Use Page Scrolling
|
||||
scroll_page_label=Page Scrolling
|
||||
scroll_vertical.title=Use Vertical Scrolling
|
||||
scroll_vertical_label=Vertical Scrolling
|
||||
scroll_horizontal.title=Use Horizontal Scrolling
|
||||
|
|
|
@ -61,6 +61,8 @@ cursor_text_select_tool_label=Textmarkeringsverktyg
|
|||
cursor_hand_tool.title=Aktivera handverktyg
|
||||
cursor_hand_tool_label=Handverktyg
|
||||
|
||||
scroll_page.title=Använd sidrullning
|
||||
scroll_page_label=Sidrullning
|
||||
scroll_vertical.title=Använd vertikal rullning
|
||||
scroll_vertical_label=Vertikal rullning
|
||||
scroll_horizontal.title=Använd horisontell rullning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue