Fixed pasting selection with cusor out of canvas

This commit is contained in:
Nicola
2022-01-12 23:13:53 +01:00
parent eada0f7ab1
commit 37d21f5dec
3 changed files with 4 additions and 15 deletions

View File

@@ -67,10 +67,6 @@ class RectangularSelectionTool extends SelectionTool {
this.moveTool.setSelectionData(this.getSelection(), this);
}
copySelection() {
super.copySelection();
}
cutSelection() {
super.cutSelection();
currFile.currentLayer.context.clearRect(this.currSelection.left-0.5, this.currSelection.top-0.5,