Skip to content

Commit

Permalink
Fix white space for depth animation. Bump to 0.31.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzotov committed Feb 7, 2020
1 parent d3a1041 commit 6feee74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@navigationjs/react-native",
"version": "0.31.5",
"version": "0.31.6",
"description": "Simple and well-tested React Native navigation",
"main": "index.js",
"author": "Ivan Zotov <me@ivanzotov.com> (http://ivanzotov.com/)",
Expand Down
4 changes: 2 additions & 2 deletions src/Stack/Wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export default class Wrap extends Component {
},
{
translateX: scene.depth.value.interpolate({
inputRange: [0, 1],
outputRange: [0, -width / 5],
inputRange: [0, 0.05, 1],
outputRange: [0, 0, -width / 5],
}),
},
],
Expand Down

0 comments on commit 6feee74

Please sign in to comment.