fix
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
:style="{ '--custom-cursor': stateManager.cursor.value }"
|
||||
>
|
||||
<template v-for="v in nodeTypes" :key="v" #[`node-${v}`]="node">
|
||||
<!-- <node
|
||||
<node
|
||||
:type="v"
|
||||
:stateManager="stateManager"
|
||||
:node="node"
|
||||
@@ -26,7 +26,7 @@
|
||||
stateManager.tool.value === TOOLS.TEXT
|
||||
"
|
||||
>
|
||||
<component
|
||||
<!-- <component
|
||||
:is="components[node.data.component]"
|
||||
:class="{ active: stateManager.activeNodeID.value === node.id }"
|
||||
:active="stateManager.activeNodeID.value === node.id"
|
||||
@@ -40,8 +40,8 @@
|
||||
@update-data="(v) => (node.data.data = v)"
|
||||
@bring-to-font="bringToFont(node.id)"
|
||||
@send-to-back="sendToBack(node.id)"
|
||||
/>
|
||||
</node> -->
|
||||
/> -->
|
||||
</node>
|
||||
</template>
|
||||
</VueFlow>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user