Commit graph

88 commits

Author SHA1 Message Date
2501adebd2 fix: wrap main canvas application around div to fix cursor problems 2025-10-08 17:22:26 +01:00
853cb96ba4 feat: fps counter
- also fix 1.21.9 version
2025-10-04 20:07:45 +01:00
5eedff5bab feat: update to react 19, pixi.js v8, tailwind v4, shad-cn
Also:

- center canvas on startup
- add version 1.21.9
2025-10-03 21:34:12 +01:00
c99798ae65 fix: add mobile check to a3013825 2025-02-22 18:04:31 +00:00
a301382515 fix: mobile tapping to move cursor 2025-02-21 21:45:59 +00:00
c17eec6403 fix: selection, remove blocks when selectedBlock is "air" 2025-02-21 16:39:57 +00:00
fba6ccdb80 fix: slight performance improvements 2025-02-21 15:50:59 +00:00
776a36c11d fix: holes in eraser tool 2025-02-16 20:06:32 +00:00
214fed6e94 fix: holes in pencil tool 2025-02-14 14:18:47 +00:00
c04f62ac2c feat: pinch zooming 2025-02-12 18:49:45 +00:00
a58375fa60 feat: shape tool 2025-02-09 19:41:42 +00:00
8b89e17b8f refactor: remap tool keybinds 2025-02-09 13:01:32 +00:00
a68f995699 feat: place back blocks when canceling selection and create history entry 2025-02-09 12:29:13 +00:00
0fc7497f10 feat: multiple implementations of history entry creations 2025-02-09 12:08:34 +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
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
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