mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
efaa8e3c34
_rectSelect.js now knows when the user started and finished drawing a rect and is able to edit a preview.
13 lines
238 B
JavaScript
13 lines
238 B
JavaScript
var isRectSelecting = false;
|
|
|
|
function startRectSelection() {
|
|
console.log("Started selecting");
|
|
}
|
|
|
|
function updateRectSelection() {
|
|
console.log("Editing selecting");
|
|
}
|
|
|
|
function endRectSelection() {
|
|
console.log("Finished selecting");
|
|
} |