Apply the current zoom level value to each page in Presentation Mode

This commit is contained in:
Jonas Jenwald 2013-10-19 18:30:31 +02:00
parent fa03a777b6
commit f35e777d81
2 changed files with 3 additions and 2 deletions

View file

@ -397,8 +397,8 @@ var PDFView = {
},
get isHorizontalScrollbarEnabled() {
var div = document.getElementById('viewerContainer');
return div.scrollWidth > div.clientWidth;
return (PresentationMode.active ? false :
(this.container.scrollWidth > this.container.clientWidth));
},
initPassiveLoading: function pdfViewInitPassiveLoading() {