Refactored Input.js to Events.js

Started working on Input.js, this time it's used to handle mouse clicks and keyboard shortcuts.
This commit is contained in:
unsettledgames
2021-07-20 22:52:51 +02:00
parent 4525519071
commit 1b1290c017
14 changed files with 242 additions and 214 deletions

View File

@ -2,7 +2,7 @@ const FileManager = (() => {
// Binding the browse holder change event to file loading
const browseHolder = document.getElementById('open-image-browse-holder');
Input.on('change', browseHolder, loadFile);
Events.on('change', browseHolder, loadFile);
function saveProject() {
//create name