fix: connection line style prop

* remove slot
This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent b42c1b02de
commit 66a166dea9
@@ -68,22 +68,6 @@ export default {
</script>
<template>
<g class="vue-flow__connection">
<slot
v-bind="{
sourceX,
sourceY,
sourcePosition: sourceHandle?.position,
targetX,
targetY,
targetPosition,
connectionLineType: store.connectionLineType,
connectionLineStyle: store.connectionLineStyle,
nodes: store.getNodes,
sourceNode: props.sourceNode,
sourceHandle,
}"
>
<path :d="dAttr" class="vue-flow__connection-path" :style="store.connectionLineStyle" />
</slot>
<path :d="dAttr" class="vue-flow__connection-path" :style="store.connectionLineStyle || {}" />
</g>
</template>