프로젝트

일반

사용자정보

개정판 3908a575

ID3908a575abb63a25dfe8b8800514be86c3ce66fb
상위 cb5c7f06
하위 944be2fa, 29e5dc6a

백흠경이(가) 5년 이상 전에 추가함

issue #926: fixed page change logic

Change-Id: If039ebecb0b06e996ca13be190f7aeb82e85ece4

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
611 611
                    ViewerDataModel.Instance.ImageViewWidth = defaultBitmapImage.PixelWidth;
612 612
                    ViewerDataModel.Instance.ImageViewHeight = defaultBitmapImage.PixelHeight;
613 613
                    mainPanel.UpdateLayout();
614
                    this.pageNavigator.SetNextPage(); 
614
                    this.pageNavigator.ChangePage(ViewerDataModel.Instance.PageNumber); 
615 615
                    
616 616
                    //image dispose
617 617
                    defaultBitmapImage = null;
......
2150 2150
            {
2151 2151
                if (this.pageNavigator.CurrentPage.PageNumber + 1 <= this.pageNavigator.PageCount)
2152 2152
                {
2153
                    this.pageNavigator.GotoPage(this.pageNavigator._NextPage.PageNumber + 1);
2153
                    this.pageNavigator.GotoPage(this.pageNavigator.CurrentPage.PageNumber + 1);
2154 2154
                }
2155 2155

  
2156
                this.pageNavigator.GotoPage(this.pageNavigator._NextPage.PageNumber);
2156
                //this.pageNavigator.GotoPage(this.pageNavigator._NextPage.PageNumber);
2157 2157

  
2158 2158
            }
2159 2159
            else if (e.XButton2 == MouseButtonState.Pressed)

내보내기 Unified diff

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