unsettledgames
d14deeb761
Tried to refactor more, snapped the brush preview to the pixel grid
2020-07-21 23:36:12 +02:00
unsettledgames
466eb0580c
Started refactoring the code
...
- Can now zoom without selecting the zom tool
- Moved updateCursor to the tool class, deleted _updateCursor.js
- Removed as many references to canvas as possible, removed every global reference to context
- Added methods in Tool class to move the brush preview
2020-07-21 16:01:00 +02: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
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
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