개정판 6c687be8
thumbnail 속도 문제로 되돌림
Change-Id: If873bc60f8159428b34e3df6cedb48f9675e0485
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
1625 | 1625 |
|
1626 | 1626 |
|
1627 | 1627 |
//이미지 각도 변경 시 실시간 Thumbnail 각도 변경(강인구 추가) |
1628 |
instanceMain.dzMainMenu.pageNavigator._thumbnailItems.Where(info => info.PageNumber == instanceMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber).ToList().ForEach(data => |
|
1628 |
var thumbnaillist = instanceMain.dzMainMenu.pageNavigator._thumbnailItems.Where(info => info.PageNumber == instanceMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber); |
|
1629 |
|
|
1630 |
foreach (var data in thumbnaillist) |
|
1629 | 1631 |
{ |
1630 | 1632 |
data.Angle = int.Parse(instanceMain.dzMainMenu.rotate.Angle.ToString()); |
1631 | 1633 |
|
1632 |
instanceMain.dzMainMenu.pageNavigator.ImgListbox.ItemsSource = instanceMain.dzMainMenu.pageNavigator._thumbnailItems; |
|
1634 |
//instanceMain.dzMainMenu.pageNavigator.ImgListbox.ItemsSource = instanceMain.dzMainMenu.pageNavigator._thumbnailItems;
|
|
1633 | 1635 |
var instance = instanceMain.dzMainMenu.CurrentDoc.docInfo.DOCPAGE.Where(p => p.PAGE_NUMBER == instanceMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber).FirstOrDefault(); |
1634 | 1636 |
instance.PAGE_ANGLE = int.Parse(instanceMain.dzMainMenu.rotate.Angle.ToString()); |
1635 | 1637 |
|
... | ... | |
1645 | 1647 |
{ |
1646 | 1648 |
ViewerDataModel.Instance.RotationDocs.Add(instance); |
1647 | 1649 |
} |
1648 |
});
|
|
1650 |
} |
|
1649 | 1651 |
} |
1650 | 1652 |
#endregion |
1651 | 1653 |
|
내보내기 Unified diff