feat: improve mouse events

This commit is contained in:
2026-03-11 10:27:17 +01:00
parent c330713fa7
commit deb1be0d66
3 changed files with 29 additions and 1 deletions

View File

@@ -20,6 +20,17 @@ body {
min-height: 0;
}
/* Canvas pane cursors: crosshair for selection box, grab/grabbing for middle-click pan */
.react-flow__pane {
cursor: crosshair;
}
.react-flow.react-flow--panning .react-flow__pane {
cursor: grabbing;
}
.react-flow.react-flow--selecting .react-flow__pane {
cursor: crosshair;
}
/* Node specific overrides */
.react-flow__node {
display: block;