mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-04 16:16:34 +08:00
offset修复一半
This commit is contained in:
@@ -66,9 +66,17 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
UnDoActionStack = new Stack<Command>();
|
||||
}
|
||||
|
||||
private bool _beginDo;
|
||||
public bool BeginDo
|
||||
{
|
||||
get;set;
|
||||
get
|
||||
{
|
||||
return _beginDo;
|
||||
}
|
||||
set
|
||||
{
|
||||
_beginDo = value;
|
||||
}
|
||||
}
|
||||
|
||||
private bool _undoing;
|
||||
@@ -76,7 +84,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
if (BeginDo == true)
|
||||
return;
|
||||
if (_undoing == true)
|
||||
if (_undoing == true)
|
||||
return;
|
||||
try
|
||||
{
|
||||
@@ -111,7 +119,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
if (!CanUnDo)
|
||||
return;
|
||||
|
||||
if (_undoing == true)
|
||||
if (_undoing == true)
|
||||
return;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user