diff --git a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue index a74bb9eaca..7c6523ce9f 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -19,6 +19,10 @@ const props = defineProps({ type: Boolean, default: false }, + popActive: { + type: Boolean, + default: false + }, canvasStyleData: { type: Object, required: true @@ -192,10 +196,6 @@ const onPointClick = param => { emits('onPointClick', param) } -const innerOutActive = computed(() => { - return config.value.category === 'hidden' && showPosition.value === 'popEdit' -}) - const deepScale = computed(() => scale.value / 100) @@ -232,7 +232,7 @@ const deepScale = computed(() => scale.value / 100) :style="{ color: config.commonBackground.innerImageColor }" :name="commonBackgroundSvgInner" > -
+
{ return { fontSize: 30 * props.scale + 'px', @@ -102,6 +105,10 @@ const innerScale = computed(() => props.showPosition === 'preview' ? props.scale : props.scale * 100 ) +const curActive = item => { + return curComponent.value?.id === item.id && props.showPosition === 'popEdit' +} + const handleDragOver = e => { areaActive.value = true e.preventDefault()