Commit Graph

13 Commits

Author SHA1 Message Date
Theo Cavignac 6f84b5dfc8 Apply eslint --fix and fix indentation 2020-04-12 10:58:19 +02:00
unsettledgames b26ac05a84 Fixed blurry cut in Firefox 2020-04-09 17:20:40 +02:00
unsettledgames f92a7f4a46 Fixed a few minor bugs
Undoing while selecting caused mess.
Selecting outside the canvas caused empty lines to appear on the canvas.
2020-04-09 16:48:19 +02:00
unsettledgames ab0b3e81e3 Fixed more bugs 🆒 🆒 2020-03-15 17:11:00 +01:00
unsettledgames 7dec2f1490 Fixed some bugs 🆒 2020-03-15 16:32:48 +01:00
unsettledgames 378e0f0cd0 Fixed bug that deleted the underlying pixels when confirming a selection 2020-03-07 23:13:35 +01: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 f1ae36c54c Finished the selection tool 2020-03-05 16:13:23 +01:00
unsettledgames b81e3f36a9 Added correct cursor to move tool
Added _move.js to handle the selection movement, added cursor managemente for that tool. Found a bug in the imagedata part, it is currently blank.
2020-03-05 13:34:29 +01:00
unsettledgames c714f5c004 Finished preview rectangle
When the rectangle selection tool is selected, a rect preview is drawn on the vfx layer. There's also a function that gets the selected pixels, next step is moving them around.
2020-03-04 19:38:35 +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