Commit Graph

17 Commits

Author SHA1 Message Date
unsettledgames
4457d2178c Added Input.js
Got rid of the "on" files, refactored the rest of the code to use the functions declared in Input.js
2021-07-12 11:36:30 +02:00
nkoder
6cc60c00e8 Introduce ellipse tool (which draws rectangle for now) 2021-04-29 01:08:16 +02:00
Leamsi Escribano
5556587088 Finished Line Tool 2021-01-14 15:28:57 -05:00
Leamsi Escribano
d3a1b6f474 Working on line tool 2021-01-14 13:04:39 -05:00
unsettledgames
9ef0e6ecea Started commenting code 2020-12-31 13:05:51 +01: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
05066d8cb1 Fix pencil size +/- buttons broken from upstream, apply brush preview snapping to
rectangle tool, fix pencil broken by merge
2020-04-12 11:39:37 +02:00
Theo Cavignac
6f84b5dfc8 Apply eslint --fix and fix indentation 2020-04-12 10:58:19 +02:00
unsettledgames
3e5b05bb6b Added fill mode for the rectangle tool
You can select the fill mode by clicking again on the rect button once you select it. Also added new icons.
2020-03-07 22:34:12 +01:00
unsettledgames
fd37518e55 Almost finished recangle tool
There's a Math.round bug, sometimes the opacity is off.
2020-03-06 23:21:42 +01:00
unsettledgames
11337b689b Added possibility to select the rectangular selection tool
The user can now select the rectangular selection tool. Deleted the m shortcut for the pan tool and used it to shortcut to the rectangular selection tool. The pan tool can already be selected with the p button.
2020-03-04 12:42:15 +01:00
npalomba
13cc6fe3b2 Fixed zooming bug. Eraser tool implementation definitely completed.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 18:41:08 +02:00
npalomba
16d816db18 Fixed bug in canvas dragging, must fix the one on resizing.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 17:15:03 +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