mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added back cut / paste
This commit is contained in:
parent
cd6d959d35
commit
b4c069c156
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user