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 Aug 19, 2024
1 parent fadb5c9 commit c77c696
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 c77c696

Please sign in to comment.