개정판 75448f5e
issue #761 Ctrl + Y(Redo), Ctrl + Z(Undo) KeyEvent 버그 수정
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
3358 | 3358 |
Markup_List = new List<Multi_Undo_data>() |
3359 | 3359 |
}; |
3360 | 3360 |
|
3361 |
switch (controlType)
|
|
3361 |
switch (controlType) |
|
3362 | 3362 |
{ |
3363 | 3363 |
case ControlType.Rectangle: |
3364 | 3364 |
{ |
... | ... | |
5757 | 5757 |
|
5758 | 5758 |
public void Undo() |
5759 | 5759 |
{ |
5760 |
if (ViewerDataModel.Instance.IsPressCtrl)
|
|
5761 |
{ |
|
5762 |
ViewerDataModel.Instance.IsPressCtrl = false;
|
|
5763 |
} |
|
5760 |
// if (ViewerDataModel.Instance.IsPressCtrl)
|
|
5761 |
// {
|
|
5762 |
// ViewerDataModel.Instance.IsPressCtrl = false;
|
|
5763 |
// }
|
|
5764 | 5764 |
Undo_data undo = new Undo_data(); |
5765 | 5765 |
AdornerFinal final; |
5766 | 5766 |
ReleaseAdorner(); |
... | ... | |
5898 | 5898 |
|
5899 | 5899 |
public void Redo() |
5900 | 5900 |
{ |
5901 |
if (ViewerDataModel.Instance.IsPressCtrl) |
|
5902 |
{ |
|
5903 |
ViewerDataModel.Instance.IsPressCtrl = false; |
|
5904 |
} |
|
5901 |
//if (ViewerDataModel.Instance.IsPressCtrl)
|
|
5902 |
//{
|
|
5903 |
// ViewerDataModel.Instance.IsPressCtrl = false;
|
|
5904 |
//}
|
|
5905 | 5905 |
AdornerFinal final; |
5906 | 5906 |
Undo_data redo = new Undo_data(); |
5907 | 5907 |
redo = ViewerDataModel.Instance.UndoDataList.Where(data => data.IsUndo == true).ToList().OrderBy(order => order.EventTime).FirstOrDefault(); |
내보내기 Unified diff