fix: invert nexus page anim direction
This commit is contained in:
parent
99a2d6ac18
commit
682356f9da
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ Item {
|
|||
Connections {
|
||||
function onCurrentPageIdxChanged(): void {
|
||||
switchAnim.complete();
|
||||
root.animOff = root.Tokens.padding.extraLarge * (root.nState.currentPageIdx > root.lastPageIdx ? -1 : 1);
|
||||
root.animOff = root.Tokens.padding.extraLarge * (root.nState.currentPageIdx > root.lastPageIdx ? 1 : -1);
|
||||
switchAnim.start();
|
||||
root.lastPageIdx = root.nState.currentPageIdx;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue