fix: update canvas toolbar and canvas settings for improved usability
- Updated the CanvasToolbar to provide a clearer label for the scissors tool, enhancing user understanding of its functionality. - Modified the CanvasInner component to disable grid snapping, allowing for more flexible positioning of elements on the canvas.
This commit is contained in:
@@ -2103,8 +2103,7 @@ function CanvasInner({ canvasId }: CanvasInnerProps) {
|
||||
onDrop={onDrop}
|
||||
fitView
|
||||
minZoom={CANVAS_MIN_ZOOM}
|
||||
snapToGrid
|
||||
snapGrid={[16, 16]}
|
||||
snapToGrid={false}
|
||||
deleteKeyCode={["Backspace", "Delete"]}
|
||||
multiSelectionKeyCode="Shift"
|
||||
nodesConnectable={!scissorsMode}
|
||||
|
||||
Reference in New Issue
Block a user