We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6998b8 commit a118b14Copy full SHA for a118b14
1 file changed
src/helper/blob-tools/broad-brush-helper.js
@@ -258,6 +258,7 @@ class BroadBrushHelper {
258
}
259
260
let delta = this.lastVec;
261
+ let constraintPoint = event.point;
262
263
// If the mouse up is at the same point as the mouse drag event then we need
264
// the second to last point to get the right direction vector for the end cap
@@ -277,7 +278,7 @@ class BroadBrushHelper {
277
278
delta = new paper.Point(delta.x, 0);
279
280
- const constraintPoint = this.lastPoint.add(delta);
281
+ constraintPoint = this.lastPoint.add(delta);
282
const step = delta.normalize(options.brushSize / 2);
283
step.angle += 90;
284
0 commit comments