개정판 3908a575
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