mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Removed all global variables, worked on File class and put canvas resizing functions in File
This commit is contained in:
@ -19,7 +19,7 @@ const ToolManager = (() => {
|
||||
|
||||
currTool = tools["brush"];
|
||||
currTool.onSelect();
|
||||
canvasView.style.cursor = 'default';
|
||||
currFile.canvasView.style.cursor = 'default';
|
||||
|
||||
Events.on("mouseup", window, onMouseUp);
|
||||
Events.on("mousemove", window, onMouseMove);
|
||||
|
Reference in New Issue
Block a user