개정판 51c6ce90
Fix: 심볼을 추가할때 맨 위로 오도록 수정
Change-Id: I40040e444d0378de6bae0e4118e580eda4766801
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
532 | 532 |
comment.CommentID = Commons.ShortGuid(); |
533 | 533 |
comment.SymbolID = id; |
534 | 534 |
comment.GroupID = GroupID; |
535 |
comment.ZIndex = CommentUserInfo.MaxZIndex; |
|
535 |
comment.ZIndex = CommentUserInfo.MaxZIndex; |
|
536 |
#region 리스트의 맨 끝에 추가 |
|
537 |
int index = ViewerDataModel.Instance.MarkupControls_USER.ToList().FindIndex(x => x == comment); |
|
538 |
ViewerDataModel.Instance.MarkupControls_USER.RemoveAt(index); |
|
539 |
ViewerDataModel.Instance.MarkupControls_USER.Add(comment); |
|
540 |
comment.Index = ViewerDataModel.Instance.MarkupControls_USER.ToList().FindIndex(x => x == comment); |
|
541 |
#endregion |
|
536 | 542 |
|
537 | 543 |
adornerSet.Add(comment); |
538 | 544 |
|
내보내기 Unified diff