diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 03:11:37 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 03:11:37 +0200 |
| commit | ab2de8e21077d36f21a4e6c6b9277b3799608663 (patch) | |
| tree | 27761b68c1dd4c471e247f5b3215b4fea5ee9e2f /app/client | |
| parent | 91a29f1c46270c12664b2fd7561c2e0bcd651476 (diff) | |
not so wide
Diffstat (limited to 'app/client')
| -rw-r--r-- | app/client/common/timeline.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/timeline.component.js b/app/client/common/timeline.component.js index d3739b1..864e360 100644 --- a/app/client/common/timeline.component.js +++ b/app/client/common/timeline.component.js @@ -53,7 +53,7 @@ export default class Timeline extends Component { const len = sequence.length - 1 const start = { frame: sequence[0], i: 0 } const end = { frame: sequence[len], i: len } - const width = Math.sqrt(clamp(sequence.length / 15000, 0.3, 1.0)) * Math.min(window.innerWidth - 40, 1000) + const width = Math.sqrt(clamp(sequence.length / 15000, 0.3, 1.0)) * Math.min(window.innerWidth - 40, 600) const ratio = width / sequence.length setTimeout(() => this.computeOffset()) this.setState({ |
