Fixed redundant history save in cut tool

This commit is contained in:
unsettledgames 2020-06-15 12:19:56 +02:00
parent 0fc1df1650
commit 970fe56674

View File

@ -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;