updated eraser tool

This commit is contained in:
Marco Marinò 2022-02-05 18:24:53 +01:00
parent ceac61e8b2
commit 7467353e70

View File

@ -103,7 +103,7 @@ class EraserTool extends ResizableTool {
prevY, prevY,
currX, currX,
currY, currY,
this.currSize this.currSize, true
); );
} else { } else {
currFile.currentLayer.drawLine( currFile.currentLayer.drawLine(
@ -111,7 +111,7 @@ class EraserTool extends ResizableTool {
prevY - horizontalFactor, prevY - horizontalFactor,
currX - verticalFactor, currX - verticalFactor,
currY - horizontalFactor, currY - horizontalFactor,
this.currSize this.currSize, true
); );
} }
} }