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,
|
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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user