pdf.js/web
Jonas Jenwald b06e65e5d6 Followup fix for entering/exiting Presentation mode
Even after PR 5359, switching to/from Presentation mode is still sluggish and I'm still seeing `too much recursion` printed in the console.
I've managed to track down the issue to line https://github.com/mozilla/pdf.js/blob/master/web/page_view.js#L371. It appears that for this particular case, we actually *need* to set `noScroll = true` when calling the `_setScale` function. (Note that it only applies to *this* line, and not to Presentation mode in general.)
Given the amount of refactoring done to the viewer, I'm not sure what the best way to fix this would be. However I'm submitting this patch as an easy workaround for now, but we should probably refactor this to avoid calling a "private" method directly.
2014-09-30 13:02:53 +02:00
..
images Preliminary attachments support 2014-04-18 12:11:00 -04:00
.gitignore CMaps binary packing 2014-03-14 16:46:35 -05:00
chromecom.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
compatibility.js Implement streaming using moz-chunk-arraybuffer 2014-09-19 19:05:25 -05:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.js Fix a regression preventing page change in the Stepper in the debugger 2014-09-24 10:38:27 +02:00
default_preferences.js Implement streaming using moz-chunk-arraybuffer 2014-09-19 19:05:25 -05:00
document_attachments_view.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
document_outline_view.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
document_properties.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
download_manager.js Fixes DownloadManager for IE10 and above 2014-04-28 22:43:05 +02:00
firefoxcom.js Add preprocessor directives for the extension; and refactor FirefoxCom callback 2014-05-28 10:24:06 -05:00
grab_to_pan.js Handtool: Remove focus from previous node on click 2014-09-03 16:31:47 +02:00
hand_tool.js Removing unused code 2014-07-18 22:34:50 +02:00
index.html.template Update web/index.html.template 2012-10-02 07:26:20 -05:00
interfaces.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
mozPrintCallback_polyfill.js Print shortcut: Ctrl + (Shift +) P only 2014-01-29 18:38:42 +01:00
overlay_manager.js [OverlayManager] Add preventDefault to the keydown event handler 2014-05-27 23:48:02 +02:00
page_view.js Followup fix for entering/exiting Presentation mode 2014-09-30 13:02:53 +02:00
password_prompt.js Convert the existing overlays to use the OverlayManager 2014-05-25 21:33:15 +02:00
pdf_find_bar.js Converting PDFFindBar and PDFFindController to classes 2014-07-29 21:59:01 +02:00
pdf_find_controller.js Moves pdfDocument.getPage/getTextContent requests out of PDFView 2014-09-21 12:47:26 -05:00
pdf_history.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
pdf_rendering_queue.js Adds types definitions (jsdoc) for the PDFViewer code. 2014-09-28 10:39:56 -05:00
pdf_viewer.js Fixes typo/regression of #5295 for presentation mode 2014-09-29 20:17:26 -05:00
preferences.js Adjust use of chrome.storage.managed for Opera 2014-09-06 00:37:30 +02:00
presentation_mode.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
secondary_toolbar.js Renames and refactors PDFView to PDFViewerApplication. 2014-09-28 10:39:56 -05:00
text_layer_builder.js Adds types definitions (jsdoc) for the PDFViewer code. 2014-09-28 10:39:56 -05:00
thumbnail_view.js Adds types definitions (jsdoc) for the PDFViewer code. 2014-09-28 10:39:56 -05:00
ui_utils.js Moves constants to avoid dependency on PDFView 2014-09-21 12:47:26 -05:00
view_history.js Added Promise.catch 2014-05-22 13:53:19 -04:00
viewer-snippet-b2g-activity-header.html Add close button and title bar for b2g. 2012-11-28 11:02:56 -08:00
viewer-snippet-chrome-extension.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-firefox-extension.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-minified.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-mozPrintCallback-polyfill.html Add mozPrintCallback shim 2013-10-08 19:46:59 +02:00
viewer-snippet.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer.css Fix text highlighting in the Font Inspector in the debugger 2014-09-24 00:18:35 +02:00
viewer.html Moves constants to avoid dependency on PDFView 2014-09-21 12:47:26 -05:00
viewer.js Merge pull request #5295 from yurydelendik/pdfviewer 2014-09-29 15:23:35 -07:00