Fix finger print, remove unused code
This commit is contained in:
parent
13764d7f76
commit
eba8f5a22c
@ -91,7 +91,7 @@ var WorkerMessageHandler = {
|
||||
pdfModel = new PDFDocument(new Stream(data));
|
||||
var doc = {
|
||||
numPages: pdfModel.numPages,
|
||||
fingerprint: pdfModel.fingerprint,
|
||||
fingerprint: pdfModel.getFingerprint(),
|
||||
destinations: pdfModel.catalog.destinations,
|
||||
outline: pdfModel.catalog.documentOutline,
|
||||
info: pdfModel.info,
|
||||
|
@ -860,7 +860,6 @@ var PageView = function pageView(container, pdfPage, id, scale,
|
||||
}
|
||||
|
||||
this.getPagePoint = function pageViewGetPagePoint(x, y) {
|
||||
var scale = PDFView.currentScale;
|
||||
return this.viewport.convertToPdfPoint(x, y);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user