diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-11 13:02:41 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-11 13:02:41 +0100 |
| commit | 7815db0ba83de37b0e782addad5e1ba1122d6781 (patch) | |
| tree | 74c67ec63a58724c0a670421d01c01df95082a9d /app/client/common | |
| parent | 280b87239ad9122507da46250652d4eca0698f8a (diff) | |
deploy bundle
Diffstat (limited to 'app/client/common')
| -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 c6cf583..aa3976c 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 / 45000, 0.3, 1.0)) * Math.min(window.innerWidth - 40, 600) + const width = Math.sqrt(clamp(sequence.length / 90000, 0.3, 1.0)) * Math.min(window.innerWidth - 40, 600) const ratio = width / sequence.length setTimeout(() => this.computeOffset()) this.setState({ |
