mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed pasting selection with cusor out of canvas
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user