From 970fe56674eb8871b3917d2ae7832d04a2102f2c Mon Sep 17 00:00:00 2001 From: unsettledgames <47360416+unsettledgames@users.noreply.github.com> Date: Mon, 15 Jun 2020 12:19:56 +0200 Subject: [PATCH] Fixed redundant history save in cut tool --- js/_copyPaste.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/_copyPaste.js b/js/_copyPaste.js index 66695be..a3af684 100644 --- a/js/_copyPaste.js +++ b/js/_copyPaste.js @@ -44,8 +44,6 @@ function pasteSelection() { function cutSelectionTool() { console.log("Taglio"); - // Saving the canvas - new HistoryStateEditCanvas(); copiedEndX = endX; copiedEndY = endY;