mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed bug that deleted the underlying pixels when confirming a selection
This commit is contained in:
@@ -30,6 +30,7 @@ function startRectSelection(mouseEvent) {
|
||||
|
||||
// Drawing the rect
|
||||
drawRect(startX, startY);
|
||||
selectionCanceled = false;
|
||||
}
|
||||
|
||||
function updateRectSelection(mouseEvent) {
|
||||
|
Reference in New Issue
Block a user