Increase reshape tool tolerance to match handle size

This causes the new dynamically-sized reshape handles to match their
previous size.
This commit is contained in:
adroitwhiz 2020-04-11 10:58:04 -04:00
parent e110a04093
commit ec3348dc75

View file

@ -33,7 +33,7 @@ const ReshapeModes = keyMirror({
class ReshapeTool extends paper.Tool { class ReshapeTool extends paper.Tool {
/** Distance within which mouse is considered to be hitting an item */ /** Distance within which mouse is considered to be hitting an item */
static get TOLERANCE () { static get TOLERANCE () {
return 4; return 5.25;
} }
/** Clicks registered within this amount of time are registered as double clicks */ /** Clicks registered within this amount of time are registered as double clicks */
static get DOUBLE_CLICK_MILLIS () { static get DOUBLE_CLICK_MILLIS () {