Fix:修复修改关联线文字后文字位置没有更新的问题

This commit is contained in:
wanglin2
2025-03-30 15:14:11 +08:00
parent 87d1b95dd9
commit e5ee2f19d1
2 changed files with 2 additions and 1 deletions

View File

@@ -388,6 +388,7 @@ class AssociativeLine {
if (this.controlPoint2) {
this.controlPoint2.stroke({ color: associativeLineActiveColor })
}
this.updateTextPos(path, text)
}
// 激活某根关联线

View File

@@ -1,5 +1,5 @@
<template>
<Sidebar ref="sidebar" :title="'关联线样式'">
<Sidebar ref="sidebar" :title="$t('baseStyle.associativeLineStyle')">
<div class="sidebarContent" :class="{ isDark: isDark }">
<div class="title noTop">{{ $t('baseStyle.associativeLine') }}</div>
<div class="row">