mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
updated eraser tool
This commit is contained in:
parent
ceac61e8b2
commit
7467353e70
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user