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