refactor(core): show regular pointer if pane isn't draggable
This commit is contained in:
@@ -228,6 +228,6 @@ export default {
|
||||
<Transform>
|
||||
<slot />
|
||||
</Transform>
|
||||
<SelectionPane :class="{ dragging: isDragging }" />
|
||||
<SelectionPane :class="{ dragging: isDragging, draggable: panOnDrag }" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -15,7 +15,10 @@
|
||||
|
||||
.vue-flow__pane {
|
||||
z-index: 1;
|
||||
cursor: grab;
|
||||
|
||||
&.draggable {
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
&.dragging {
|
||||
cursor: grabbing;
|
||||
|
||||
Reference in New Issue
Block a user