Added back cut / paste

This commit is contained in:
unsettledgames 2021-11-09 23:00:29 +01:00
parent cd6d959d35
commit b4c069c156

View File

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