Commit graph

68 commits

Author SHA1 Message Date
df016ddf74 refactor: add affixes to variable names in selection context 2025-02-07 17:11:06 +00:00
634b6c24cb fix: remove accidental pasted code in move tool
ironic.
2025-02-07 14:37:54 +00:00
a7f39aa430 feat: paint bucket tool 2025-02-05 17:03:52 +00:00
8dbb0b872a fix: move onKeyDown and onKeyUp from window to Stage 2025-02-01 17:57:00 +00:00
e488259fa4 fix: remove beforeUnload event when unmounting 2025-02-01 17:07:29 +00:00
23efc8289c feat: select all button and key combination 2025-01-31 14:17:56 +00:00
b9e1307ace refactor: rename functions and change imports in utils 2025-01-31 14:16:47 +00:00
59d69152dc fix: air blocks not working with magic wand tool 2025-01-31 14:05:44 +00:00
c8edd54f4f fix: return 0 in canvas size if no blocks are present 2025-01-29 21:56:04 +00:00
8e8c568002 feat: copy and paste selection 2025-01-29 21:47:59 +00:00
fd8f4aaca1 refactor: move cssCursor from context to canvas component 2025-01-29 21:04:07 +00:00
8dd7fa684e feat: hold shift to create square selection in rectangle-select tool 2025-01-29 20:55:18 +00:00
45fb68e37e feat: debug key combination 2025-01-26 17:41:43 +00:00
734268e2cd fix: rectangle-select tool is off by one when selecting on radius of 1 2025-01-24 16:11:28 +00:00
4b59e9b4be feat: press enter to confirm selection
also clean up useEffect(s) and useRef(s)
2025-01-24 15:31:10 +00:00
f17b2b9f42 refactor: rename SelectionToolbar component to SelectionBar 2025-01-24 14:58:06 +00:00
5e01bb4318 fix: make replace blocks feature acknowledge selection 2025-01-24 14:54:28 +00:00
ee02e1ae47 feat: improved move tool 2025-01-24 13:25:27 +00:00
9873c068e8 refactor: rename component SelectionBox to Selection 2025-01-24 13:21:53 +00:00
ade77b7ce6 fix: change cursor to move when using move tool 2025-01-22 20:24:40 +00:00
53f81040be refactor: move setting blocks to welcomeBlocksData to canvas context 2025-01-21 20:38:20 +00:00
f3441d8033 refactor: remove solid textures 2025-01-21 19:58:56 +00:00
02b46ac1e7 fix: tools not working when no selection is present 2025-01-19 21:24:37 +00:00
1b379d80cc feat: hold shift with magic wand tool to add to existing selection 2025-01-19 13:32:59 +00:00
2f8772769d feat: hold alt with magic wand tool to remove selection 2025-01-19 13:32:36 +00:00
0cb18092ee feat: magic wand tool 2025-01-19 13:22:54 +00:00
fb90ae5f26 feat: hold alt with lasso tool to remove blocks from selection 2025-01-19 12:50:22 +00:00
fdabe89dd5 feat: add blockmatic icon and color to menubar 2025-01-18 23:09:32 +00:00
89d8a93964 fix: rectangle select negative dragging for x and y 2025-01-18 22:50:47 +00:00
5b05a8a95c feat: radius in selection tools 2025-01-18 22:45:34 +00:00
e0d25bb222 feat: lasso tool 2025-01-18 22:36:03 +00:00
527e29c448 refactor: use coordinate array for selection
allows upcoming feature for users to select non-rectangular blocks
2025-01-18 21:59:42 +00:00
2037ad8722 fix: use useRef() for oldTool instead of useState() 2025-01-18 21:54:35 +00:00
dcf4cea0c4 fix: use alphafilter on grid 2025-01-17 23:00:14 +00:00
feb82f2b17 feat: edit menu - cut and clear selection 2025-01-17 22:04:34 +00:00
5b8a859f60 feat: press key "delete" to remove blocks in selection 2025-01-17 22:03:55 +00:00
fdcd73c748 refactor: move "move" tool code to onToolUse() 2025-01-17 13:25:03 +00:00
3c40a51d42 fix: better implementation of ae9f8500 2025-01-17 13:25:03 +00:00
ae9f8500e7 fix: limit placing blocks to selection 2025-01-15 22:19:36 +00:00
603e3537db fix: remove trail on move tool
todo: fix overlapping blocks
2025-01-15 21:46:55 +00:00
630d122e2e feat: functionality for move tool
need to work on removing the trail of blocks
2025-01-14 20:12:29 +00:00
776ff73bf1 feat: add bare-bones cursor and rectangle select tool
they do not currently move blocks
2025-01-14 18:02:42 +00:00
f4ca910d4c refactor: remove image context 2025-01-12 21:07:59 +00:00
8a5182fa13 fix: change scale for solid textures and clean up 2025-01-12 14:25:59 +00:00
0c0251426b feat: unsaved changes alert
might make it not show up if user has saved or not edited/done anything
2025-01-10 23:12:00 +00:00
trafficlunar
9e534ac92c fix: change default cursor on canvas to crosshair 2025-01-10 20:03:58 +00:00
trafficlunar
6892f0b9ca fix: remove context menu on canvas 2024-12-31 20:35:09 +00:00
trafficlunar
acfd638d2c feat: resizable tool settings window 2024-12-31 19:39:52 +00:00
trafficlunar
0bfe70809d feat: use programmer art textures when on versions 1.13 and below 2024-12-29 19:40:24 +00:00
trafficlunar
6996c9a310 feat: part 2 of redesign of open image dialog 2024-12-28 21:46:52 +00:00