Commit Graph

14 Commits

Author SHA1 Message Date
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
7976675132 Moved some of _pixelEditorUtility.js functions to proper files
Also left some comments about where to put the leftover functions once we have a more detailed structure.
2021-07-18 22:44:31 +02:00
unsettledgames
7c80e8f342 Finished refactoring History, added Startup IIFE 2021-07-15 17:10:07 +02:00
unsettledgames
eada155375 Fixed Dialogue bug 2021-07-14 23:00:12 +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
unsettledgames
87ab2da6b5 Commented ColorModule 2021-07-13 22:59:05 +02:00
unsettledgames
ed6d60c418 Fixed colour generation when adding a new one 2021-07-13 22:35:06 +02:00
unsettledgames
85db99a7c1 Moved clickedColor to ColorModule 2021-07-13 22:27:29 +02:00
unsettledgames
1daeb81ef4 Fixed bug that caused the wrong colour to be modified with jscolor 2021-07-11 12:53:50 +02:00
unsettledgames
f5807417ec Added Color class
- Added Color class to make color representation and convertions more uniform
- Replaced standard convertions with Color.convertion
- Removed _algorithms.js, _deleteColor.js, ajax.js and the other convertion files
- Fixed bug in ColorModule, moved replaceAllOfColor to ColorModule as well as deleteColor
2021-07-11 12:40:48 +02:00
unsettledgames
3f2d67a36e Tested get/set functions
Found out every function that uses this has problems: when calling an object method as an input callback, this gets replaced with the element that triggered the event.
2021-07-09 23:44:04 +02:00
Leamsi Escribano
ba50aa3369 addColor Refactor 2021-07-04 17:36:15 -04:00
Leamsi Escribano
4d4878c4fa Refactored addColor.js 2021-07-04 13:55:49 -04:00