Skip to content

Commit

Permalink
feat(editor): Update cursor behaviour in new canvas (no-changelog) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrozav authored and riascho committed Aug 26, 2024
1 parent e7b79b0 commit f57f957
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/editor-ui/src/styles/plugins/_vueflow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,25 @@
opacity: 0.2;
}
}

.vue-flow__pane {
&,
&.draggable {
cursor: default;
}

&.dragging {
cursor: grabbing;
}
}

.vue-flow__node {
&,
&.draggable {
cursor: pointer;
}

&.dragging {
cursor: grabbing;
}
}

0 comments on commit f57f957

Please sign in to comment.