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:
@@ -18,6 +18,7 @@ const ColorModule = (() => {
|
||||
animation:100,
|
||||
filter: ".noshrink",
|
||||
draggable: ".draggable-colour",
|
||||
// REFACTOR: Don't touch dragging, simulate a mouseup event instead
|
||||
onEnd: function() {dragging = false}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user