Commit Graph

484 Commits

Author SHA1 Message Date
Nicola
b5e33e3f34 Fixed magic wand bug, started tool tutorials
Multiplied by canvas height instead of canvas width when computing the index of a pixel.
2022-01-25 00:28:24 +01:00
Nicola
33f362ef09 Merge branch 'master' into next-update 2022-01-24 22:10:05 +01:00
Nicola
b9687c85d6
Merge pull request #77 from lospec/bug-fixes
Fixed brush not working on start
2022-01-24 22:09:42 +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
ddf11ab061
Merge pull request #71 from lospec/url-fix-test
fixed urls
2022-01-19 18:23:30 +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
Nicola
08dbef43f7
Merge pull request #70 from joao-vitor-sr/master
Fixed EyedropperTool bug
2022-01-08 17:10:04 +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
ebc6cf0dab
Merge pull request #69 from lospec/bug-fixes
Fixed canvas resizing bug
2022-01-05 17:42:12 +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
587304ccf6 Edited contribution guidelines 2021-12-27 10:54:37 +01:00
Lospec
8ee0214fad
Merge pull request #68 from unsettledgames/master
Code refactor
2021-12-26 15:13:23 -05:00
Nicola
a08f239b5c Updated readme 2021-12-13 15:24:03 +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