mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user