feat: improve mouse events
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user