Implement cut tool

yeah that was the easy part but still

- Added hotkeys for copy, paste and cut
- Added _copyPaste.js for copy, cut and paste management
This commit is contained in:
unsettledgames
2020-04-20 16:55:34 +02:00
parent f1fe597b80
commit 944cf1fbed
8 changed files with 69 additions and 9 deletions

View File

@ -355,7 +355,7 @@ function draw (mouseEvent) {
// If I'm dragging, I move the preview
if (dragging && cursorInSelectedArea()) {
updateMovePreview(mouseEvent);
updateMovePreview(getCursorPosition(mouseEvent));
}
}
}