Merge pull request #2920 from Snuffleupagus/thumbnail-on-fullscreen-close
Scroll the Thumbnail of the current page into view when exiting fullscreen mode
This commit is contained in:
commit
605da8bf67
@ -1730,6 +1730,10 @@ var PDFView = {
|
||||
this.page = this.page;
|
||||
this.clearMouseScrollState();
|
||||
this.hidePresentationControls();
|
||||
|
||||
// Ensure that the thumbnail of the current page is visible
|
||||
// when exiting fullscreen mode.
|
||||
scrollIntoView(document.getElementById('thumbnailContainer' + this.page));
|
||||
},
|
||||
|
||||
showPresentationControls: function pdfViewShowPresentationControls() {
|
||||
|
Loading…
Reference in New Issue
Block a user