From 7467353e70ec593ceff1734a137d515fc5453d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Marino=CC=80?= Date: Sat, 5 Feb 2022 18:24:53 +0100 Subject: [PATCH] updated eraser tool --- js/tools/EraserTool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tools/EraserTool.js b/js/tools/EraserTool.js index 730fae2..37f8933 100644 --- a/js/tools/EraserTool.js +++ b/js/tools/EraserTool.js @@ -103,7 +103,7 @@ class EraserTool extends ResizableTool { prevY, currX, currY, - this.currSize + this.currSize, true ); } else { currFile.currentLayer.drawLine( @@ -111,7 +111,7 @@ class EraserTool extends ResizableTool { prevY - horizontalFactor, currX - verticalFactor, currY - horizontalFactor, - this.currSize + this.currSize, true ); } }