Commit Graph

16 Commits

Author SHA1 Message Date
8743bd8549 Fixed colour picker bug
When the user changed a selected colour, the stroke colour became one of the two checkerboard colours.
2020-06-16 16:04:36 +02:00
0fc1df1650 Added Selection menu
Also fixed a few minor bugs.
2020-06-06 21:44:52 +02:00
a252d396c6 Added a line to handle the history 2020-06-05 22:28:28 +02:00
9beeefd399 Finished copy / cut /paste
Also fixed a minor bug that caused the preview rectangle for the selection tool to not be aligned to the actual selection.
2020-06-05 22:19:48 +02:00
12e43e0449 Continued cut -> paste implementation
There's only a bug, when pasting consecutively, every time it cuts the area again. There's probably some weird cut call somewhere.
2020-04-20 19:26:00 +02:00
944cf1fbed Implement cut tool
yeah that was the easy part but still

- Added hotkeys for copy, paste and cut
- Added _copyPaste.js for copy, cut and paste management
2020-04-20 16:55:34 +02:00
6f84b5dfc8 Apply eslint --fix and fix indentation 2020-04-12 10:58:19 +02:00
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
ab0b3e81e3 Fixed more bugs 🆒 🆒 2020-03-15 17:11:00 +01:00
378e0f0cd0 Fixed bug that deleted the underlying pixels when confirming a selection 2020-03-07 23:13:35 +01:00
9324a6a57e Found a bug
Noted a possible fix
2020-03-07 22:40:05 +01:00
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
fd37518e55 Almost finished recangle tool
There's a Math.round bug, sometimes the opacity is off.
2020-03-06 23:21:42 +01:00
f1ae36c54c Finished the selection tool 2020-03-05 16:13:23 +01:00
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
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