Commit Graph

13 Commits

Author SHA1 Message Date
Nicola 1bac62be4c Fixed #45, #44, #40, #38 2021-12-11 12:48:12 +01:00
unsettledgames 21dd47c2b0 Finished refactoring, moved sprite scaling functions in File 2021-12-06 20:12:57 +01:00
unsettledgames b2f5521750 Removed all global variables, worked on File class and put canvas resizing functions in File 2021-12-06 17:37:43 +01:00
unsettledgames 2ca5aa75b4 Added back tool shortctus
Made Events an IIFE instead of a class, fixed a bug in the selection tool.
2021-11-09 12:19:57 +01:00
unsettledgames 1bf5d4e433 Fixed #56 2021-07-25 23:26:32 +02:00
unsettledgames 7084988de4 Removed global layerList and moved it to LayerList.js 2021-07-23 15:15:17 +02:00
unsettledgames 6e4ab3990d Added LayerList to handle all the functions that involve more than 1 layer
Merge, flatten, add layer, delete layer etc, I'm planning to move a few global variables in Layer to LayerList.
2021-07-22 22:42:41 +02:00
unsettledgames 1a6079cc81 Removed "colors" global variable 2021-07-22 16:40:58 +02:00
unsettledgames 1b1290c017 Refactored Input.js to Events.js
Started working on Input.js, this time it's used to handle mouse clicks and keyboard shortcuts.
2021-07-20 22:52:51 +02:00
unsettledgames 7c4fb652cf Deleted _createColorPalette.js, commented files
Moved createColorPalette to the ColorModule, removed _onLoad.js and _onbeforeunload.js, commented the code and labelled with REFACTOR the comments that refere to the refactoring.
2021-07-18 23:17:41 +02:00
unsettledgames f76d05bffa Added FileManager and TopMenuModule
The TopMenuModule binds the buttons so that they open the sub menus: at the moment it also binds those events that don't have a proper place yet. FileManager contains all the functions that have something to do with files, that is loading, opening, saving and exporting.
2021-07-15 22:21:19 +02:00
unsettledgames 7c80e8f342 Finished refactoring History, added Startup IIFE 2021-07-15 17:10:07 +02:00
unsettledgames 6c8ec8e7a9 Refactored History into an IIFE
Divided History states and actual History management, refactored all occurrences of history-related functions to use the new version.
2021-07-14 22:20:55 +02:00