refactor(core): show regular pointer if pane isn't draggable

This commit is contained in:
braks
2022-11-03 21:58:36 +01:00
committed by Braks
parent 6ab79d54e4
commit 73dfca5f57
2 changed files with 5 additions and 2 deletions
@@ -228,6 +228,6 @@ export default {
<Transform>
<slot />
</Transform>
<SelectionPane :class="{ dragging: isDragging }" />
<SelectionPane :class="{ dragging: isDragging, draggable: panOnDrag }" />
</div>
</template>
+4 -1
View File
@@ -15,7 +15,10 @@
.vue-flow__pane {
z-index: 1;
cursor: grab;
&.draggable {
cursor: grab;
}
&.dragging {
cursor: grabbing;