Commit Graph

48 Commits

Author SHA1 Message Date
aabc715086 Finished todo list for current contribution
Fixed canvas trimming history, added proper setting management for the pixel grid.
2020-09-29 19:10:50 +02:00
4223597659 Started canvas trimming 2020-09-26 13:08:43 +02:00
87a25c0137 Finished implementing pixel grid
Added possibility to hide / show the grid.
2020-09-26 12:40:03 +02:00
933b2919b4 Implemented pixel grid
Added settings for pixel grid, move settings to editor sub menu.
2020-09-26 12:32:31 +02:00
a205b24742 Started pixel grid 2020-09-25 09:25:27 +02:00
29f8baf627 Fixed data handling bug
When updating a percentage, it based it off the previous edited value (eg if I scale 2x, old value will be equal to 2x, so if you wanted to scale it 0.5x, it actually made it 4x times smaller)
2020-09-22 12:29:58 +02:00
b595026ea8 Fixed canvas resizing bug
The canvas size was not being updated after opening a png
2020-09-22 11:34:36 +02:00
e9277db48c Added resize sprite data management 2020-09-19 17:04:46 +02:00
e213acea76 Added resize sprite window opening 2020-09-18 15:22:10 +02:00
47d36a4883 Added duplicate layer button to top menu 2020-09-18 11:11:52 +02:00
d6b292a443 Merge remote-tracking branch 'upstream/master' 2020-09-17 19:24:23 +02:00
80d97a4552 Started duplicating layers 2020-09-16 16:10:55 +02:00
5e2a3e46e1 Finished basic canvas resizing
Must test pivots for negative values
2020-09-15 11:56:05 +02:00
3cf72dd928 Added input fetching and validation 2020-09-13 11:58:46 +02:00
d8cfd14ded Started handling pivot buttons 2020-09-13 11:21:23 +02:00
2da7e192e8 Finished styling canvas resize menu 2020-09-12 11:04:00 +02:00
f6104c514c Styled pivots, started styling borders menu 2020-09-11 13:19:14 +02:00
1e6f719f50 Started resize canvas interface 2020-07-22 23:29:27 +02:00
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
03ba3fe245 Fixed rectangle tool bug
Switching tool from the rectangle caused the editor to freeze.
2020-07-21 14:42:25 +02:00
d1187b537b Whoops forgot to update main view and css 2020-07-20 23:36:56 +02:00
e9e1ba96da Started implementing editor modes
Added prompt in the create menu to choose an editor mode.
2020-07-20 12:59:04 +02:00
2868363bb7 Started project opening
Fixed a bug in the flatten visible undo, created an array to store the colours in the current palette, implemented project saving.
2020-06-27 13:29:28 +02:00
75a6b7ade7 Finished implementing layers
Updated readme with the features that should be implemented.
2020-06-26 17:38:39 +02:00
9032bf4fe9 Added layer menu in the top bar
Since I've procrastinated a lot and I've finished the things to implement before it, next is history management.
2020-06-23 18:10:10 +02:00
6ad27323e5 Implemented merge, rename and flatten options 2020-06-23 17:34:03 +02:00
50b962a7f5 Almost finished deleting layers
There's a bug that happens when the user tries to delete the Layer 0. All the other ones work correctly.
2020-06-22 23:07:40 +02:00
d9d1406d57 Fixed new pixel creation bug and preview canvas blurriness
It's now possible to create a new project of a different size from the one decided when opening the app. Also fixed a bug that made the layer preview canvases blurry. They're now pixel perfect.
2020-06-20 22:49:02 +02:00
6cdc764586 Started drag and drop system 2020-06-19 16:20:51 +02:00
10aa6134cc Fixed button visibility
Now if a layer is locked or hidden, the icon will always be shown.
2020-06-19 15:25:25 +02:00
6cf6f86a91 Currently debugging the add layer function
At the moment the new canvas is correclty added and it's possible to draw on it after selecting the corresponding layer. There's a bug that doesn't let the user select a layer after the first time.
2020-06-18 16:04:45 +02:00
51d86cee77 Continued basic layer layout
Added "Add layer" button, must find a nice way to add svgs
2020-06-17 23:09:11 +02:00
4b9d51200f Started layers menu
Horrible colors included for free
2020-06-16 23:23:12 +02:00
0fc1df1650 Added Selection menu
Also fixed a few minor bugs.
2020-06-06 21:44:52 +02:00
f1fe597b80 added contributors to splash page 2020-04-16 18:21:34 +00:00
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
7c29ba2d35 Merge branch 'master' into master 2020-03-07 17:52:45 -05:00
d899929816 updates 2020-03-07 22:46:25 +00: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
0786f99d76 Started rectangle tool
Added icons and buttons.
2020-03-06 21:39:30 +01:00
7ec24fc046 Added tmp layer
The temporary layer (tmp layer) will store selections while the user decides where to put them, so that content below it doesn't get overridden.
2020-03-04 19:46:19 +01:00
efaa8e3c34 Connected events to rect selection
_rectSelect.js now knows when the user started and finished drawing a rect and is able to edit a preview.
2020-03-04 14:36:40 +01:00
11337b689b Added possibility to select the rectangular selection tool
The user can now select the rectangular selection tool. Deleted the m shortcut for the pan tool and used it to shortcut to the rectangular selection tool. The pan tool can already be selected with the p button.
2020-03-04 12:42:15 +01:00
37c758d455 updated version number and description 2019-04-04 17:55:33 +00:00
8f4f4c2478 Solved bug that made the colour picker appear in the canvas.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 19:53:39 +02:00
a9d380ec1d Implemented eraser tool. Must move and resize layers at the same time.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 16:32:49 +02:00
5bbfff5fae Added eraser icon, added management of eraser size, added event listener for R key (connected to the eraser tool). Started eraser cursor management in _updateCursors.js
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 12:17:32 +02:00
7126e83f5f first commit 2019-03-26 23:20:54 +00:00