Commit Graph

318 Commits

Author SHA1 Message Date
Nicola
2e360dcf51 Started tool tutorials 2022-01-25 00:33:23 +01:00
Nicola
33f362ef09 Merge branch 'master' into next-update 2022-01-24 22:10:05 +01:00
Nicola
1b42c0b7ca Fixed brush not working on start 2022-01-23 18:56:55 +01:00
Nicola
cd1d0cd5eb Merge branch 'master' into next-update 2022-01-23 16:45:27 +01:00
Nicola
d762c04ba0 Fixed fill tool bug 2022-01-23 16:07:04 +01:00
Nicola
cc460446b6 Finished ellipse tool 2022-01-23 13:32:23 +01:00
Nicola
f78d99053b Implemented empty ellipse 2022-01-23 12:41:42 +01:00
Nicola
832f36992b Added ellipse tool setup 2022-01-22 16:02:10 +01:00
Nicola
6900ecb0c0 Removed selection reconstruction
Selecting out of bounds isn't a problem anymore
2022-01-22 12:23:39 +01:00
Nicola
fd688a3e86 Fixed bugs in new selection system 2022-01-22 12:18:10 +01:00
Nicola
86ab2e08e6 Finished magic wand 2022-01-14 17:58:40 +01:00
Sam Keddy
c135e2838d fixed urls
changed all urls to be relative (no starting slash) and without /pixel-editor/. Fixed the testing server to deal with these requests (and also include some better logging).
2022-01-13 14:40:35 -05:00
Nicola
37d21f5dec Fixed pasting selection with cusor out of canvas 2022-01-12 23:13:53 +01:00
Nicola
eada0f7ab1 Continued MagicWand
Only missing moving the selected pixels
2022-01-10 23:37:21 +01:00
Nicola
4c4fbede6e Started magic wand 2022-01-09 23:53:28 +01:00
Nicola
8eebb35df6 Refined partially external selections 2022-01-09 23:42:37 +01:00
Nicola
d92a2cd1cd Fixed lasso selection 2022-01-08 19:16:15 +01:00
Nicola
ac18dff161 Merge branch 'master' into next-update 2022-01-08 17:10:30 +01:00
Joao Vitor
ddb882faae Fixed EyeDropperTool bug
The EyeDropperTool was not working properly, the reason was the class name.
2022-01-08 00:56:39 -03:00
Nicola
fa1da7ca4c Added back copy cut paste 2022-01-07 23:22:42 +01:00
Nicola
afff386e5f Added back selection pasting and end of selection 2022-01-07 23:10:50 +01:00
Nicola
06f534e38e Started selection dragging 2022-01-06 23:12:09 +01:00
Nicola
de2479b007 Started making selection tools more generic
Will also hopefully remove MoveSelection.js and put its functions in SelectionTool
2022-01-05 23:54:29 +01:00
Nicola
240b0176c3 Merge branch 'master' into next-update 2022-01-05 17:42:33 +01:00
Nicola
d6062c51ad Fixed canvas resizing bug
Every time the user opened the window, the events were rebinded and added multiple times. So every popup added a canvas resizing operation.
2022-01-05 17:41:13 +01:00
Nicola
4179393e91 Optimized lasso tool selection 2022-01-05 12:20:51 +01:00
Nicola
e139a6cc41 Committing right algorithm before optimizing it 2022-01-05 12:02:35 +01:00
Nicola
bb657976e8 Got back to BFS 2022-01-05 00:10:02 +01:00
Nicola
bd1a806f11 Revert "Commit before dropping the fill tool idea and reverting to the first lasso version"
This reverts commit 5b6b3d33bc.
2022-01-02 21:57:35 +01:00
Nicola
5b6b3d33bc Commit before dropping the fill tool idea and reverting to the first lasso version 2022-01-02 21:57:20 +01:00
Nicola
908cc1b17c Started lasso selection computing 2021-12-29 23:16:16 +01:00
Nicola
b37d050af8 Moved cursor in selection check to selection tool 2021-12-28 23:38:28 +01:00
Nicola
69d7f12790 Slightly refactored selection tool
Now the move tool doesn't depend on how the selection has been made anymore
2021-12-28 23:14:37 +01:00
Nicola
8df8b3ac54 Started lasso selection preview 2021-12-28 22:51:18 +01:00
Nicola
fd3daecba5 Restored square templates in splash page 2021-12-27 19:40:23 +01:00
Nicola
a52fc647e3 Reduced tool size
Moved tool size buttons on the right, started lasso tool
2021-12-27 19:11:59 +01:00
Nicola
8abe1f04bb Binded closeDialogue to esc
In that way the user can exit a dialogue without using the button and the mouse
2021-12-12 23:08:13 +01:00
Nicola
8433b6018a Fixed #39 2021-12-12 22:55:28 +01:00
Nicola
62130ae90d Polished previous bug fix
Now it's possible to use all non-resizable tool and even copy a locked layer to paste it on an unlocked one.
2021-12-12 22:50:21 +01:00
Nicola
1d9ef0f372 Fixed #46 2021-12-12 22:22:46 +01:00
Nicola
be852d9aae Fixed #48 and #47 2021-12-12 18:37:16 +01:00
Nicola
1bac62be4c Fixed #45, #44, #40, #38 2021-12-11 12:48:12 +01:00
Nicola
a238fb1b47 Fixed #43, #41, #37 and #35 2021-12-11 10:48:14 +01:00
unsettledgames
55f514b92e Fixed pixel grid bug 2021-12-07 23:01:49 +01:00
unsettledgames
05beab6929 Removed a few dependencies, refactored pixel-editor.js 2021-12-07 12:11:40 +01:00
unsettledgames
21dd47c2b0 Finished refactoring, moved sprite scaling functions in File 2021-12-06 20:12:57 +01:00
unsettledgames
b2f5521750 Removed all global variables, worked on File class and put canvas resizing functions in File 2021-12-06 17:37:43 +01:00
unsettledgames
d972f9c530 Turned the PaleteBlock into an IIFE 2021-12-06 11:26:42 +01:00
unsettledgames
71bfe543a5 Made the color picker an IIFE 2021-12-04 23:11:21 +01:00
unsettledgames
07ed24cc6b Made PixelGrid child of the Layer class 2021-11-12 00:09:20 +01:00