mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
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:
13
js/_rectSelect.js
Normal file
13
js/_rectSelect.js
Normal 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");
|
||||
}
|
Reference in New Issue
Block a user