From b4c069c156b4d35b46aae833aec6175fd58c41db Mon Sep 17 00:00:00 2001 From: unsettledgames <47360416+unsettledgames@users.noreply.github.com> Date: Tue, 9 Nov 2021 23:00:29 +0100 Subject: [PATCH] Added back cut / paste --- js/tools/MoveSelectionTool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tools/MoveSelectionTool.js b/js/tools/MoveSelectionTool.js index 5082957..4a38756 100644 --- a/js/tools/MoveSelectionTool.js +++ b/js/tools/MoveSelectionTool.js @@ -27,7 +27,7 @@ class MoveSelectionTool extends Tool { this.endSelection(); this.currSelection = this.lastCopiedSelection; // Cut the data - currentLayer.context.clearRect(this.currSelection.left, this.currSelection.top, + currentLayer.context.clearRect(this.currSelection.left-0.5, this.currSelection.top-0.5, this.currSelection.width, this.currSelection.height); }