Commit graph

282 commits

Author SHA1 Message Date
614bef9008 fix: remove setting current index when max length is true 2025-02-08 13:35:46 +00:00
a80119c011 refactor: move selection util script into selection context 2025-02-08 13:17:37 +00:00
4687330f02 refactor: move clipboard util script into custom hook 2025-02-08 13:16:46 +00:00
14c026b81a fix: capitalize "a" in "air" in cursor information component 2025-02-08 13:15:45 +00:00
b0a4a8fff6 fix: unnecessary argument in edit menu clipboard.copy() 2025-02-07 20:42:45 +00:00
b59175f24d feat: clear blocks history entry 2025-02-07 20:17:54 +00:00
9f07754ab7 feat: undo and redo in edit menu 2025-02-07 20:17:42 +00:00
ac9ac3d454 feat: history/undo & redo 2025-02-07 20:17:30 +00:00
f02977b096 refactor: rename files in hooks/tools 2025-02-07 20:03:41 +00:00
e5aaf1486c fix: re-add switching to eraser when using pencil tool with air block 2025-02-07 20:03:41 +00:00
58c30b22bf refactor: move tool code into custom hooks 2025-02-07 17:12:29 +00:00
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
5d8b073a1e feat: mobile notice 2025-02-03 22:27:25 +00:00
1b159ff70f fix: set limits on image comparsion 2025-02-03 20:53:47 +00:00
5a9bc4f459 fix: duplicated code causing build fail in home page
epic git commit failure
2025-02-02 20:02:41 +00:00
b5c6ababa4 refactor: image comparison section in home page 2025-02-02 20:00:34 +00:00
7eb1c51544 feat: pixel art cards section in home page 2025-02-02 19:59:53 +00:00
8dbb0b872a fix: move onKeyDown and onKeyUp from window to Stage 2025-02-01 17:57:00 +00:00
0692466c76 feat: more home page redesigns 2025-02-01 17:49:50 +00:00
e488259fa4 fix: remove beforeUnload event when unmounting 2025-02-01 17:07:29 +00:00
d8235f3cc0 style: selected block border radius 2025-01-31 14:19:53 +00:00
1ab5955ada fix: make clear blocks dialog not change coords and scale 2025-01-31 14:19:24 +00:00
efe2d00339 feat: inverse selection 2025-01-31 14:18:08 +00:00
23efc8289c feat: select all button and key combination 2025-01-31 14:17:56 +00:00
27dc92ccff refactor: move clear selection button to new select menu 2025-01-31 14:17:35 +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
ff55954a75 fix: don't allow empty names when exporting schematics 2025-01-29 20:46:40 +00:00
88b43829bc feat: enter key to submit dialog 2025-01-29 20:31:18 +00:00
9cd8c0f18d feat: set coordinates dialog 2025-01-28 21:36:34 +00:00
45fb68e37e feat: debug key combination 2025-01-26 17:41:43 +00:00
bad4d741f5 fix: block properties not working when exporting to .litematic 2025-01-26 17:41:33 +00:00
a953914bd3 fix: bunch of block data fixes 2025-01-26 17:40:48 +00:00
6883267b95 feat: center canvas button in view menu 2025-01-25 23:15:45 +00:00
e22d51947a feat: center canvas on image open 2025-01-25 23:15:32 +00:00
e82a0ef158 chore: update privacy policy 2025-01-25 15:16:03 +00:00
cee8cb92e1 fix: main page broken due to dff77e7b 2025-01-25 15:03:44 +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
dff77e7bbc style: remove overflow y on body 2025-01-24 15:45:22 +00:00
8925ebebb6 fix: improve zoom slider with logarithmic scaling 2025-01-24 15:45:13 +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
f3e881fcec style: add animation to selection bar 2025-01-24 14:57:00 +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
a9baef3164 refactor: rename fallable* to falling
fallable is not a word.
2025-01-23 19:40:19 +00:00
6779713897 fix: decoding varint for .schem files 2025-01-23 19:29:46 +00:00
6ab167e7db fix: schematic versions 2025-01-23 19:21:38 +00:00
e6788d529a fix: encode ids as varints when exporting .schem 2025-01-22 22:03:58 +00:00
b5d3d75680 fix: add block entities to .schem files 2025-01-22 21:27:50 +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
17dc511053 fix: replace interactive prop in block selector(s) with eventMode 2025-01-21 20:21:32 +00:00
f3441d8033 refactor: remove solid textures 2025-01-21 19:58:56 +00:00
dae3a88734 refactor: replace useState with useRef in textures context 2025-01-21 19:53:04 +00:00
85e865910f chore: update welcome data to look like logo and add color 2025-01-19 21:38:37 +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
663b026c6e chore: compress .svg(s) 2025-01-18 23:08:42 +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
4ca631d4d2 fix: remove adjacent lines in selection 2025-01-18 22:35:43 +00:00
19663353c8 fix: update edit menu to commit 527e29c4 2025-01-18 22:02:24 +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
47e7a1d737 fix: z-index on header in index page 2025-01-15 22:27:45 +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
246afd9120 fix: remove crafter_bottom and crafter_top
too confusing and a pain to place in-game
2025-01-12 21:49:17 +00:00
f4ca910d4c refactor: remove image context 2025-01-12 21:07:59 +00:00
aa58b31269 feat: add text to index page under "See the difference" heading and other changes 2025-01-12 20:45:24 +00:00
8a5182fa13 fix: change scale for solid textures and clean up 2025-01-12 14:25:59 +00:00
5af7113247 fix: minecraft font location 2025-01-11 23:53:31 +00:00
0104ea6712 feat: add sign, footer to index page and refactor 2025-01-11 23:48:44 +00:00
d078bae747 feat: open schematic (.schem)
todo: fix exporting .schem
2025-01-11 20:55:17 +00:00
b89111d3c3 fix: add creative property to suspicious sand/gravel 2025-01-11 20:38:04 +00:00
b48d691573 fix: missing id property in save schem dialog 2025-01-11 19:36:07 +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
e5ee9c81a9 fix: convert id array to single string in block data 2025-01-10 21:22:55 +00:00
2500a00e21 fix: replace file.bytes() with file.arrayBuffer() 2025-01-10 21:06:54 +00:00
612d519068 feat: open schematic (.litematic)
known bug: blobs of air blocks in some schematics
2025-01-10 21:01:28 +00:00