summaryrefslogtreecommitdiff
path: root/app/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-11 13:00:23 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-11 13:00:23 +0100
commit280b87239ad9122507da46250652d4eca0698f8a (patch)
tree20759e54857d9def2e9100503c336a9606cc4798 /app/client
parentc50ecacff7693ed6f4f70844e2fbae6a3697d3ca (diff)
deploy bundle
Diffstat (limited to 'app/client')
-rw-r--r--app/client/common/timeline.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/timeline.component.js b/app/client/common/timeline.component.js
index 864e360..c6cf583 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, 600)
+ const width = Math.sqrt(clamp(sequence.length / 45000, 0.3, 1.0)) * Math.min(window.innerWidth - 40, 600)
const ratio = width / sequence.length
setTimeout(() => this.computeOffset())
this.setState({