개정판 71208c63
Revert "markus 성능개선"
This reverts commit 0cda2a885008c0503d20d124631932685c72d462.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I62fa4a232ee9a418ffceccffe432e7fdda93396d
KCOM/Controls/PageNavigator.xaml.cs | ||
---|---|---|
78 | 78 |
//tmStart = false; |
79 | 79 |
//tm.Stop(); |
80 | 80 |
//tm.Tick -= new EventHandler(tm_Tick); |
81 |
int _PageNo = -1; |
|
81 | 82 |
|
82 |
System.Threading.Tasks.Task.Factory.StartNew(() =>
|
|
83 |
if (this.CurrentPage != null)
|
|
83 | 84 |
{ |
85 |
_PageNo = this.CurrentPage.PageNumber; |
|
86 |
}; |
|
84 | 87 |
|
85 |
int _PageNo = -1; |
|
86 |
|
|
87 |
if (this.CurrentPage != null) |
|
88 |
{ |
|
89 |
_PageNo = this.CurrentPage.PageNumber; |
|
90 |
}; |
|
91 |
|
|
92 |
if (_PageNo != (ImgListbox.SelectedItem as ThumbnailItem).PageNumber) |
|
93 |
{ |
|
94 |
GotoPage((ImgListbox.SelectedItem as ThumbnailItem).PageNumber); |
|
95 |
} |
|
96 |
|
|
97 |
}).RunAndForget(); |
|
88 |
if (_PageNo != (ImgListbox.SelectedItem as ThumbnailItem).PageNumber) |
|
89 |
{ |
|
90 |
GotoPage((ImgListbox.SelectedItem as ThumbnailItem).PageNumber); |
|
91 |
} |
|
98 | 92 |
} |
99 | 93 |
|
100 | 94 |
public bool GotoPageFlag = false; |
내보내기 Unified diff