unsettledgames
6c8ec8e7a9
Refactored History into an IIFE
...
Divided History states and actual History management, refactored all occurrences of history-related functions to use the new version.
2021-07-14 22:20:55 +02:00
unsettledgames
fb1200162e
Finished commenting the editor
...
Also cleaned a few things, removed some unused variables
2020-12-31 16:47:56 +01:00
unsettledgames
c498a495d5
Added canvas preview to layer menu
...
Decided to apply the same width / height ratio of the canvas to the preview.
2020-06-19 15:16:22 +02:00
unsettledgames
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
unsettledgames
0fc1df1650
Added Selection menu
...
Also fixed a few minor bugs.
2020-06-06 21:44:52 +02:00
unsettledgames
a252d396c6
Added a line to handle the history
2020-06-05 22:28:28 +02:00
unsettledgames
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
unsettledgames
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
unsettledgames
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
Theo Cavignac
6f84b5dfc8
Apply eslint --fix and fix indentation
2020-04-12 10:58:19 +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
378e0f0cd0
Fixed bug that deleted the underlying pixels when confirming a selection
2020-03-07 23:13:35 +01:00
unsettledgames
9324a6a57e
Found a bug
...
Noted a possible fix
2020-03-07 22:40:05 +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