mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
连接线,文本编辑
This commit is contained in:
@@ -62,9 +62,9 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
if (e.PropertyName == "IsSelected")
|
||||
{
|
||||
if (selectable.StartEditing)
|
||||
if (selectable.InitIsEditing)
|
||||
{
|
||||
selectable.StartEditing = false;
|
||||
selectable.InitIsEditing = false;
|
||||
PART_ShowText.Visibility = Visibility.Visible;
|
||||
PART_TextBlock.Visibility = Visibility.Collapsed;
|
||||
PART_ShowText.Focus();
|
||||
|
||||
Reference in New Issue
Block a user