1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-23 01:36:28 +02:00

incorporate pr feedback

This commit is contained in:
Tim Daubenschütz 2015-09-01 09:34:29 +02:00
parent 8e5c04140f
commit f83300e597

View File

@ -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,