--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
For more options, visit https://groups.google.com/d/optout.
Hi Zhijie,I've attached a video showing the problem that I'm experiencing. The video has audio explaining what I am doing and the problem that I am experiencing.Kind regards,David
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
For more options, visit https://groups.google.com/d/optout.
--David Compton
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
For more options, visit https://groups.google.com/d/optout.
Tools.FreeTextCreateTool.prototype.mouseLeftUp = function(e) {
var annotManager = docViewer.getAnnotationManager();
if (annotManager.getAnnotationByMouseEvent(e)) {
this.annotation = null;
mouseLeftUp.apply(this, arguments);
return;
}
if (this.annotation) {
var newWidth = 200;
var newHeight = 100;
var pageWidth = docViewer.getPageWidth(docViewer.getCurrentPage() - 1);
if (this.annotation.X + 200 > pageWidth) {
this.annotation.X = pageWidth - 200;
}
this.annotation.setRect(new Annotations.Rect(this.annotation.X, this.annotation.Y, this.annotation.X + newWidth, this.annotation.Y + newHeight));
this.annotation.setPadding(new Annotations.Rect(0, 0, 0, 0));
}
mouseLeftUp.apply(this, arguments);
};
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfnet-webviewer/25a65f9b-4bee-4b05-ac5c-193e808c6dae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
docViewer.on('toolModeUpdated', function() {
setTimeout(function() {
docViewer.getAnnotationManager().deselectAllAnnotations();
}, 0);
});
core.deselectAllAnnotations();
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfnet-webviewer/33790e84-4b0b-4519-8994-609a16f438e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfnet-webviewer/533db9a0-2298-4c23-9f4b-d32f052dca16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
// in config.js
document.querySelector('[data-element=documentContainer]').addEventListener('click', function() {
if (document.activeElement || document.activeElement.tagName === 'INPUT') {
document.activeElement.blur();
}
});
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfnet-webviewer/1dbb0651-fa4b-4e34-a4cc-1644e13bff53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfnet-webviewer/6f23a6be-3451-4cc9-b009-fd5f35687fdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "PDFTron WebViewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-webview...@googlegroups.com.
To post to this group, send email to pdfnet-w...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdfnet-webviewer.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfnet-webviewer/b56a6ced-d3db-4abd-ae45-7d7ad60703f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.