Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
moschan committed Sep 2, 2017
1 parent 2cb7cd3 commit b404a1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/FlipCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class FlipCard extends Component {
style={[ this.state.height > 0 && {height: this.state.height}, this.state.width > 0 && {width: this.state.width}]}
flipHorizontal={this.props.flipHorizontal}
flipVertical={this.props.flipVertical}
perspective={this.props.perspective}
perspective={this.props.perspective}
onLayout={(event) => {
var {x, y, width, height} = event.nativeEvent.layout
var _update = Object.assign(this.state.back, {width: width, height: height})
Expand Down Expand Up @@ -257,11 +257,11 @@ export class Back extends Component {
var transform = []
if (this.props.flipHorizontal) {
transform.push({scaleX: -1})
transform.push({perspective: this.props.perspective})
transform.push({perspective: this.props.perspective})
}
if (this.props.flipVertical) {
transform.push({scaleY: -1})
transform.push({perspective: this.props.perspective})
transform.push({perspective: this.props.perspective})
}

return (
Expand Down

0 comments on commit b404a1b

Please sign in to comment.