Skip to content

Commit 545f54c

Browse files
authored
Update index.android.ts
#24
1 parent 1814620 commit 545f54c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui-pager/index.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,12 +708,12 @@ function initPagerChangeCallback() {
708708
object: owner
709709
});
710710
owner.lastEvent = 1;
711-
} else if (owner.lastEvent === 1 && state === 1) {
711+
} else if (owner.lastEvent === 2 && state === 0) {
712712
owner.notify({
713713
eventName: Pager.swipeOverEvent,
714714
object: owner
715715
});
716-
owner.lastEvent = 1;
716+
owner.lastEvent = 0;
717717
} else if (owner.lastEvent === 1 && state === 2) {
718718
owner.notify({
719719
eventName: Pager.swipeEndEvent,

0 commit comments

Comments
 (0)