Increase hit tolerance to help selecting small items.
This commit is contained in:
parent
0583fa41fe
commit
4369e54f5a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue