Commit Graph

13 Commits

Author SHA1 Message Date
unsettledgames
466eb0580c Started refactoring the code
- Can now zoom without selecting the zom tool
- Moved updateCursor to the tool class, deleted _updateCursor.js
- Removed as many references to canvas as possible, removed every global reference to context
- Added methods in Tool class to move the brush preview
2020-07-21 16:01:00 +02:00
unsettledgames
03ba3fe245 Fixed rectangle tool bug
Switching tool from the rectangle caused the editor to freeze.
2020-07-21 14:42:25 +02:00
Sam Keddy
f3ce09ac5a fixed merge 2020-04-15 00:10:21 +00:00
Sam Keddy
91da252f49 created tool class which keeps track of cursors, incorporates changeTool; made changelog data its own file 2020-04-15 00:01:31 +00:00
Theo Cavignac
6f84b5dfc8 Apply eslint --fix and fix indentation 2020-04-12 10:58:19 +02:00
unsettledgames
7dec2f1490 Fixed some bugs 🆒 2020-03-15 16:32:48 +01:00
unsettledgames
30282fe795 Finished empty rectangle tool 2020-03-07 16:49:01 +01:00
npalomba
ab070db6a3 Fixed bug that caused the eraser preview to be shifted from the actual mouse position.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-04-01 22:16:07 +02:00
npalomba
f7100ff9f7 Added comments, removed unused variables.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-04-01 21:37:53 +02:00
npalomba
a9d380ec1d Implemented eraser tool. Must move and resize layers at the same time.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 16:32:49 +02:00
npalomba
f229c14d91 Fixed bug in checkerboard creation.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 15:10:51 +02:00
npalomba
15e6d7b08a Added _checkerboard.js for transparency checkerboard management. Implemented generation of checkerboard (still need to test it properly, for example with weird height/width values).
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 13:28:46 +02:00
Sam Keddy
7126e83f5f first commit 2019-03-26 23:20:54 +00:00