diff --git a/modules/nexus/Pages.qml b/modules/nexus/Pages.qml index ac4c747c..b2f03aac 100644 --- a/modules/nexus/Pages.qml +++ b/modules/nexus/Pages.qml @@ -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; }