프로젝트

일반

사용자정보

개정판 8acc4862

ID8acc48628a74e0d8f4fad6f3d04651af56c241b3
상위 3e416e48
하위 80069f57, a9a82876

김태성이(가) 2달 전에 추가함

issue #00000 ZoomAndPanControl OnApplyTemplate 호출 수정

Change-Id: I923686647377c67c1dc0bac05d59329dbadda75e

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
4817 4817
            {
4818 4818
                IsSyncPDFMode = false;
4819 4819

  
4820
                zoomAndPanControl2.ApplyTemplate();
4820
                zoomAndPanControl2.OnApplyTemplate();
4821
                //zoomAndPanControl2.ApplyTemplate();
4821 4822
                zoomAndPanControl2.UpdateLayout();
4822 4823

  
4823 4824
                ComparePageLoad(CurrentRev.DOCUMENT_ID, pageNavigator.CurrentPage.PageNumber, OriginalSizeMode.IsChecked);
......
5033 5034

  
5034 5035
                        Sync_Offset_Point = new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY);
5035 5036

  
5036
                        zoomAndPanControl2.ApplyTemplate();
5037
                        zoomAndPanControl2.OnApplyTemplate();
5037 5038
                        zoomAndPanControl2.UpdateLayout();
5038 5039

  
5039 5040
                        if (Sync_Offset_Point != new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY))
......
5139 5140

  
5140 5141
                    zoomAndPanCanvas2.Width = Convert.ToDouble(Common.ViewerDataModel.Instance.ContentWidth);
5141 5142
                    zoomAndPanCanvas2.Height = Convert.ToDouble(Common.ViewerDataModel.Instance.ContentHeight);
5142
                    zoomAndPanControl2.ApplyTemplate();
5143
                    zoomAndPanControl2.OnApplyTemplate();
5143 5144
                    zoomAndPanControl2.UpdateLayout();
5144 5145

  
5145 5146
                    if (Sync_Offset_Point != new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY))

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)