Commit Graph

13 Commits

Author SHA1 Message Date
Lospec
7c29ba2d35
Merge branch 'master' into master 2020-03-07 17:52:45 -05:00
Sam Keddy
d899929816 updates 2020-03-07 22:46:25 +00:00
unsettledgames
0786f99d76 Started rectangle tool
Added icons and buttons.
2020-03-06 21:39:30 +01:00
unsettledgames
f1ae36c54c Finished the selection tool 2020-03-05 16:13:23 +01:00
unsettledgames
7ec24fc046 Added tmp layer
The temporary layer (tmp layer) will store selections while the user decides where to put them, so that content below it doesn't get overridden.
2020-03-04 19:46:19 +01:00
unsettledgames
8c94a951e2 Started implementing preview rect
At the moment there's a bug in the getCursorPos function, may have something to do with offsets. The rect is correctly drawn, but with a weird offset.

Added vfx canvas for tools previews.
2020-03-04 15:46:25 +01:00
unsettledgames
efaa8e3c34 Connected events to rect selection
_rectSelect.js now knows when the user started and finished drawing a rect and is able to edit a preview.
2020-03-04 14:36:40 +01:00
npalomba
8f4f4c2478 Solved bug that made the colour picker appear in the canvas.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 19:53:39 +02:00
npalomba
bd96d01970 Fixed visibility of canvas before canvas generation. 2019-03-31 18:44:09 +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
e68f495d50 Added functions for canvas management in order to create multiple underlying canvases for implementing layers.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 15:55:08 +02:00
npalomba
5bbfff5fae Added eraser icon, added management of eraser size, added event listener for R key (connected to the eraser tool). Started eraser cursor management in _updateCursors.js
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 12:17:32 +02:00
Sam Keddy
7126e83f5f first commit 2019-03-26 23:20:54 +00:00