summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-23 19:53:22 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-23 19:53:22 +0200
commitd484c23d9a4a4a8863dc225df68a8aa7aaf4d21c (patch)
tree3a45019e7de88e9894a283590735039f38ca8e85 /app/client/common
parente2c13867baf66a6ae22c975563f8755e782d07a9 (diff)
timeline stuff working
Diffstat (limited to 'app/client/common')
-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 3008c37..d3739b1 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.2, 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, 1000)
const ratio = width / sequence.length
setTimeout(() => this.computeOffset())
this.setState({