[app] Fixed the problem with the initial slider position
This commit is contained in:
parent
44e40dbb3a
commit
0a42d93e14
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ SilicaFlickable {
|
||||||
if (page >=0 && page !== _currentPage) {
|
if (page >=0 && page !== _currentPage) {
|
||||||
_jumpingTo = page
|
_jumpingTo = page
|
||||||
positionViewAtIndex(page, ListView.Center)
|
positionViewAtIndex(page, ListView.Center)
|
||||||
|
pager.currentPage = page
|
||||||
_jumpingTo = -1
|
_jumpingTo = -1
|
||||||
if (_currentPage !== page) {
|
if (_currentPage !== page) {
|
||||||
console.log("oops, still at", _currentPage)
|
console.log("oops, still at", _currentPage)
|
||||||
|
|
Loading…
Reference in a new issue