Skip to content

Commit

Permalink
#1170 | Speed up router/navigator SceneConfig transition animation
Browse files Browse the repository at this point in the history
  • Loading branch information
1t5j0y committed Nov 6, 2023
1 parent aeb34ab commit e05d3b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/openchs-android/src/framework/routing/Router.js
Original file line number Diff line number Diff line change
@@ -60,7 +60,10 @@ export default class Router extends Component {
configureScene(route) {
if (route.sceneConfig) return route.sceneConfig;

return Navigator.SceneConfigs.PushFromRight;
return {
...Navigator.SceneConfigs.PushFromRight,
defaultTransitionVelocity: 15
};
}

renderScene(route, nav) {

0 comments on commit e05d3b8

Please sign in to comment.