mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +01:00
incorporate pr feedback
This commit is contained in:
parent
8e5c04140f
commit
f83300e597
@ -241,8 +241,8 @@ let SlidesContainer = React.createClass({
|
||||
},
|
||||
|
||||
render() {
|
||||
|
||||
let translateXValue = 'translateX(' + (-1) * this.state.containerWidth * this.state.slideNum + 'px)';
|
||||
let spacing = this.state.containerWidth * this.state.slideNum;
|
||||
let translateXValue = 'translateX(' + (-1) * spacing + 'px)';
|
||||
|
||||
/*
|
||||
According to the react documentation,
|
||||
|
Loading…
Reference in New Issue
Block a user