Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

Fix connector handle size + change move cursor (#9128)

Jonathan29c95b5926b9
diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Connector/ConnectorNode.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Connector/ConnectorNode.tsx
index d86ca783a8..bc6867a9b9 100644
--- a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Connector/ConnectorNode.tsx
+++ b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Connector/ConnectorNode.tsx
@@ -11,7 +11,7 @@ import { memo } from 'react';
import { PiDotOutlineFill } from 'react-icons/pi';
const CONNECTOR_NODE_SIZE = 35;
-const CONNECTOR_HANDLE_SIZE = 24;
+const CONNECTOR_HANDLE_SIZE = 12;
const CONNECTOR_HANDLE_OFFSET = -CONNECTOR_HANDLE_SIZE / 2;
const handleVisualSx = {
diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/common/shared.ts b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/common/shared.ts
index ade8845b6a..9da862fb45 100644
--- a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/common/shared.ts
+++ b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/common/shared.ts
@@ -7,7 +7,7 @@ export const containerSx: SystemStyleObject = {
h: 'full',
position: 'relative',
transitionProperty: 'none',
- cursor: 'grab',
+ cursor: 'pointer',
'--border-color': 'var(--invoke-colors-base-500)',
'--border-color-selected': 'var(--invoke-colors-blue-300)',
'--header-bg-color': 'var(--invoke-colors-base-900)',