mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-06-28 14:44:12 +00:00
fix: change cursor to move when using move tool
This commit is contained in:
parent
065f8bcf59
commit
ade77b7ce6
2 changed files with 7 additions and 11 deletions
|
|
@ -82,6 +82,7 @@ function Canvas() {
|
|||
const updateCssCursor = useCallback(() => {
|
||||
const cursorMapping: Partial<Record<Tool, string>> = {
|
||||
hand: dragging ? "grab" : "grabbing",
|
||||
move: "move",
|
||||
zoom: holdingAltRef.current ? "zoom-out" : "zoom-in",
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue