Commit Graph

6 Commits

Author SHA1 Message Date
unsettledgames
d14deeb761 Tried to refactor more, snapped the brush preview to the pixel grid 2020-07-21 23:36:12 +02:00
unsettledgames
066582e309 Implemented lock function
Now a layer can be locked and unlocked and it's possible to edit a layer only if the layer is not locked.
2020-06-19 12:57:07 +02:00
unsettledgames
970fe56674 Fixed redundant history save in cut tool 2020-06-15 12:19:56 +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