Fixed bug that deleted the underlying pixels when confirming a selection

This commit is contained in:
unsettledgames
2020-03-07 23:13:35 +01:00
parent 9324a6a57e
commit 378e0f0cd0
5 changed files with 37 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ function startRectSelection(mouseEvent) {
// Drawing the rect
drawRect(startX, startY);
selectionCanceled = false;
}
function updateRectSelection(mouseEvent) {