feat: Add name to TransformationPane.vue
This commit is contained in:
@@ -32,6 +32,11 @@ onMounted(() => {
|
|||||||
|
|
||||||
const transform = computed(() => `translate(${store.transform[0]}px,${store.transform[1]}px) scale(${store.transform[2]})`)
|
const transform = computed(() => `translate(${store.transform[0]}px,${store.transform[1]}px) scale(${store.transform[2]})`)
|
||||||
</script>
|
</script>
|
||||||
|
<script lang="ts">
|
||||||
|
export default {
|
||||||
|
name: 'TransformationPane',
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div :key="`transformation-pane-${id}`" class="vue-flow__transformation-pane vue-flow__container" :style="{ transform }">
|
<div :key="`transformation-pane-${id}`" class="vue-flow__transformation-pane vue-flow__container" :style="{ transform }">
|
||||||
<NodeRenderer :key="`node-renderer-${id}`" />
|
<NodeRenderer :key="`node-renderer-${id}`" />
|
||||||
|
|||||||
Reference in New Issue
Block a user