将private访问性改为protected internal访问性

This commit is contained in:
zengwenjie
2025-09-17 09:01:46 +08:00
parent 1b68173a97
commit d7149a570d
3 changed files with 25 additions and 18 deletions

View File

@@ -580,18 +580,7 @@ namespace Deedy.Activity
this.ShowRightExitline = Visibility.Visible;
}
if (exitlinemanageable.ExitlinePosition == ExitlinePosition.LeftLower || exitlinemanageable.ExitlinePosition == ExitlinePosition.Rightlower)
{
//TODO根据退出线方向是否相同的设置项调整子节点的退出线位置
if (exitlinemanageable.IsExitlineAtSamePosition == true)
{
//TODO同向退出线控制
}
if (exitlinemanageable.IsExitlineAtSamePosition == false)
{
//TODO对向退出线控制
}
}
this.ActionElement.AdjustExitlinePosition();
}
if (newValue is ILogicController logicController)
{
@@ -629,6 +618,7 @@ namespace Deedy.Activity
this.InstantInfo = this.ActionElement.InstantInfo;
break;
case nameof(IExitlineManageable):
this.ActionElement.AdjustExitlinePosition();
break;
default: break;
}
@@ -713,9 +703,9 @@ namespace Deedy.Activity
base.OnDragLeave(e);
}
private bool _CanDropInParent = false;
private bool _CanDropChild = false;
private DropPlacement _DropPlacement = DropPlacement.Uncertain;
protected internal bool _CanDropInParent = false;
protected internal bool _CanDropChild = false;
protected internal DropPlacement _DropPlacement = DropPlacement.Uncertain;
protected override void OnDragOver(DragEventArgs e)
{
if (this.IsEventNeedToHandle(e.OriginalSource))
@@ -818,8 +808,8 @@ namespace Deedy.Activity
ToolTipService.SetVerticalOffset(this, position.Y + 16);
}
}
private readonly object _DragLock = new();
private Point? _DragStartPoint = null;
protected internal readonly object _DragLock = new();
protected internal Point? _DragStartPoint = null;
protected override void OnPreviewMouseMove(MouseEventArgs e)
{