mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed redundant history save in cut tool
This commit is contained in:
parent
0fc1df1650
commit
970fe56674
@ -44,8 +44,6 @@ function pasteSelection() {
|
|||||||
|
|
||||||
function cutSelectionTool() {
|
function cutSelectionTool() {
|
||||||
console.log("Taglio");
|
console.log("Taglio");
|
||||||
// Saving the canvas
|
|
||||||
new HistoryStateEditCanvas();
|
|
||||||
|
|
||||||
copiedEndX = endX;
|
copiedEndX = endX;
|
||||||
copiedEndY = endY;
|
copiedEndY = endY;
|
||||||
|
Loading…
Reference in New Issue
Block a user