Connected events to rect selection

_rectSelect.js now knows when the user started and finished drawing a rect and is able to edit a preview.
This commit is contained in:
unsettledgames
2020-03-04 14:36:40 +01:00
parent cba4e5c87e
commit efaa8e3c34
7 changed files with 67 additions and 24 deletions

13
js/_rectSelect.js Normal file
View File

@ -0,0 +1,13 @@
var isRectSelecting = false;
function startRectSelection() {
console.log("Started selecting");
}
function updateRectSelection() {
console.log("Editing selecting");
}
function endRectSelection() {
console.log("Finished selecting");
}