개정판 3abe8d4e
issue #00000 자신의 마크업이 없는 경우 GotoMarkup에서 오류발생
Change-Id: Ideebbe7797a790e55dfa96e24fe5a6a528eeb784
KCOM/Extensions/MarkupVisitHelper.cs | ||
---|---|---|
28 | 28 |
|
29 | 29 |
foreach (var markupInfo in instance._markupInfoList) |
30 | 30 |
{ |
31 |
var comments = markupInfo.MarkupList.Where(f => f.ID == CommentIdList.First()); |
|
32 |
|
|
33 |
if (comments.Count() > 0) |
|
31 |
if (markupInfo.MarkupList != null) |
|
34 | 32 |
{ |
35 |
instance.SystemMain.dzMainMenu.gridViewMarkup.SelectedItem = markupInfo; |
|
36 |
commentList.AddRange(comments); |
|
33 |
var comments = markupInfo.MarkupList.Where(f => f.ID == CommentIdList.First()); |
|
34 |
|
|
35 |
if (comments.Count() > 0) |
|
36 |
{ |
|
37 |
instance.SystemMain.dzMainMenu.gridViewMarkup.SelectedItem = markupInfo; |
|
38 |
commentList.AddRange(comments); |
|
39 |
} |
|
37 | 40 |
} |
38 | 41 |
} |
39 | 42 |
|
... | ... | |
125 | 128 |
|
126 | 129 |
try |
127 | 130 |
{ |
128 |
if (Common.ViewerDataModel.Instance.MarkupAngle != 0)
|
|
131 |
if (Common.ViewerDataModel.Instance.MarkupAngle != Common.ViewerDataModel.Instance.PageAngle)
|
|
129 | 132 |
{ |
130 |
for (int i = 0; i < (Common.ViewerDataModel.Instance.MarkupAngle / 90); i++)
|
|
133 |
for (int i = 0; i < (Math.Abs(Common.ViewerDataModel.Instance.MarkupAngle - Common.ViewerDataModel.Instance.PageAngle) / 90); i++)
|
|
131 | 134 |
{ |
132 | 135 |
Common.ViewerDataModel.Instance.SystemMain.dzTopMenu.drawingPannelRotate(true); |
133 | 136 |
} |
내보내기 Unified diff