Ensure canvas is really hidden when used with pdfjs-dist.

Avoids black background flickering in such examples as components/simpleviewer.html
This commit is contained in:
Yury Delendik 2017-06-20 14:45:07 -05:00
parent 054fe13920
commit 18e1f3d29b

View File

@ -51,6 +51,10 @@
display: block;
}
.pdfViewer .page canvas[hidden] {
display: none;
}
.pdfViewer .page .loadingIcon {
position: absolute;
display: block;