개정판 5bffa106
fixed issue #530: 등록한 심볼로 생성한 객체 오류
KCOM/Controls/AdornerFinal.xaml.cs | ||
---|---|---|
2587 | 2587 |
|
2588 | 2588 |
private void drag_DragStarted(object sender, DragStartedEventArgs e) |
2589 | 2589 |
{ |
2590 |
//CustomCursor.SetCursorTemplate(DragThumb, this.Resources["MoveCursor"] as DataTemplate); |
|
2591 |
//DragThumb.Cursor = Cursors.None; |
|
2592 |
//DragThumb.Cursor = Cursors.SizeAll; |
|
2593 |
|
|
2594 | 2590 |
if (ViewerDataModel.Instance.UndoDataList == null) |
2595 | 2591 |
{ |
2596 | 2592 |
return; |
2597 | 2593 |
} |
2598 |
if (ViewerDataModel.Instance.UndoDataList.LastOrDefault().Event == Event_Type.Thumb)
|
|
2594 |
if ((null != ViewerDataModel.Instance.UndoDataList.LastOrDefault()) && (ViewerDataModel.Instance.UndoDataList.LastOrDefault().Event == Event_Type.Thumb))
|
|
2599 | 2595 |
{ |
2600 | 2596 |
return; |
2601 | 2597 |
} |
2602 |
if (ViewerDataModel.Instance.UndoDataList.LastOrDefault().Markup_List != null)
|
|
2598 |
if ((null != ViewerDataModel.Instance.UndoDataList.LastOrDefault()) && (ViewerDataModel.Instance.UndoDataList.LastOrDefault().Markup_List != null))
|
|
2603 | 2599 |
{ |
2604 | 2600 |
if (ViewerDataModel.Instance.UndoDataList.LastOrDefault().Markup_List.Count > 0) |
2605 | 2601 |
{ |
내보내기 Unified diff