Skip to content

Commit

Permalink
fix for Tinysymphony#22
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Henning <[email protected]>
  • Loading branch information
fivenp committed Oct 4, 2018
1 parent ee2f813 commit afc7c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Drawer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export default class Drawer extends Component {
this._mask && this._mask.setNativeProps(this.styles.mask);
if (this.props.type === types.Default || dx === 0) {
this.styles.main.style.left = dx;
this.styles.main.style.right = -dx;
this.styles.main.style.right = -dx.toFixed(3);
this._main && this._main.setNativeProps(this.styles.main);
}
}
Expand Down

0 comments on commit afc7c26

Please sign in to comment.