chore(docs): put all actions into single panel

This commit is contained in:
braks
2024-02-08 20:07:50 +01:00
committed by Braks
parent fafad1e721
commit caf874dd49
4 changed files with 66 additions and 36 deletions
+1 -10
View File
@@ -60,8 +60,6 @@ const sourceNodeData = toRef(() => nodesData.value[1])
const isFinished = toRef(() => sourceNodeData.value.isFinished)
const isSkipped = toRef(() => targetNodeData.value.isSkipped)
const isAnimating = ref(false)
const edgeColor = toRef(() => {
@@ -86,14 +84,6 @@ const edgeColor = toRef(() => {
const path = computed(() => getSmoothStepPath(props))
watch(isSkipped, (isSkipped) => {
if (isSkipped) {
edgePoint.value = 0
currentLength.value = 0
isAnimating.value = false
}
})
watch(isAnimating, (isAnimating) => {
const edge = findEdge(props.id)
@@ -192,6 +182,7 @@ export default {
.truck {
position: relative;
display: inline-block;
transform: scaleX(-1);
}
.box {