개정판 fdab8f9c
Fix: 페이지가 회전되었을때 꺽인점 오류 수정
Change-Id: Ib1f59ce6e1ea93fe375f5ead8eac77f47297acb0
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
1495 | 1495 |
{ |
1496 | 1496 |
var instanceMain = this.ParentOfType<MainWindow>(); |
1497 | 1497 |
|
1498 |
//if (rotateOffSet > 3) |
|
1499 |
// rotateOffSet = 0; |
|
1500 |
|
|
1501 |
//if (rotateOffSet < 0) |
|
1502 |
// rotateOffSet = 3; |
|
1503 |
|
|
1504 | 1498 |
if(Flag) |
1505 | 1499 |
{ |
1506 | 1500 |
if (instanceMain.dzMainMenu.rotate.Angle == 270) |
... | ... | |
1591 | 1585 |
instanceMain.dzMainMenu.pageNavigator.GotoPage(data.PageNumber); |
1592 | 1586 |
|
1593 | 1587 |
//rotation page add or update |
1594 |
var rotationdoc = ViewerDataModel.Instance.RotationDocs.Where(d => d.ID == instance.ID).FirstOrDefault();
|
|
1588 |
var rotationdoc = ViewerDataModel.Instance.RotationDocs.Find(d => d.ID == instance.ID);
|
|
1595 | 1589 |
if (rotationdoc != null) |
1596 | 1590 |
{ |
1597 | 1591 |
rotationdoc.PAGE_ANGLE = instance.PAGE_ANGLE; |
내보내기 Unified diff