Commit Graph

11 Commits

Author SHA1 Message Date
unsettledgames fb1200162e Finished commenting the editor
Also cleaned a few things, removed some unused variables
2020-12-31 16:47:56 +01:00
unsettledgames 37a532236b Fixed brush preview snapping 2020-09-17 16:11:00 +02:00
unsettledgames b7d5f603b1 Added history states for canvas resizing
Must fix bug that happens when creating a new layer after resizing the canvas
2020-09-15 13:06:31 +02:00
unsettledgames d8cfd14ded Started handling pivot buttons 2020-09-13 11:21:23 +02:00
unsettledgames d14deeb761 Tried to refactor more, snapped the brush preview to the pixel grid 2020-07-21 23:36:12 +02:00
unsettledgames 81cc4c8900 Moved setCanvasOffset to layer 2020-07-21 22:30:46 +02:00
unsettledgames 75a6b7ade7 Finished implementing layers
Updated readme with the features that should be implemented.
2020-06-26 17:38:39 +02:00
Theo Cavignac 6f84b5dfc8 Apply eslint --fix and fix indentation 2020-04-12 10:58:19 +02: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
Sam Keddy 7126e83f5f first commit 2019-03-26 23:20:54 +00:00