From 4369e54f5aa5303e0b0ebae354d7277ac00dfb0b Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 16 Dec 2021 16:30:40 +0100 Subject: [PATCH] Increase hit tolerance to help selecting small items. --- src/pdfdraw.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pdfdraw.js b/src/pdfdraw.js index ddb4751..45c79fc 100644 --- a/src/pdfdraw.js +++ b/src/pdfdraw.js @@ -924,6 +924,7 @@ var PageAnnotator = function(annotator, pagenum, container, page) { this.canvas.style.bottom = 0; this.scope = new paper.PaperScope(); this.scope.setup(this.canvas); + this.scope.project.options.hitTolerance = 5; if (page) { this.setPage(page, container); }