fix text selection in pdfs

This commit is contained in:
j 2013-12-31 16:57:16 +05:30
parent beddf586d1
commit b23135f3f9
3 changed files with 6 additions and 2 deletions

View file

@ -21,7 +21,7 @@ if (typeof PDFJS === 'undefined') {
} }
PDFJS.version = '0.8.798'; PDFJS.version = '0.8.798';
PDFJS.build = '5cd9fec'; PDFJS.build = '5b0eebb';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

View file

@ -21,7 +21,7 @@ if (typeof PDFJS === 'undefined') {
} }
PDFJS.version = '0.8.798'; PDFJS.version = '0.8.798';
PDFJS.build = '5cd9fec'; PDFJS.build = '5b0eebb';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

View file

@ -1290,8 +1290,12 @@ canvas {
bottom: 0; bottom: 0;
color: #000; color: #000;
font-family: sans-serif; font-family: sans-serif;
pointer-events: none;
} }
.imageLayer > div {
pointer-events: all;
}
.textLayer > div { .textLayer > div {
color: transparent; color: transparent;
position: absolute; position: absolute;