summaryrefslogtreecommitdiff
path: root/app/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-24 03:11:37 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-24 03:11:37 +0200
commitab2de8e21077d36f21a4e6c6b9277b3799608663 (patch)
tree27761b68c1dd4c471e247f5b3215b4fea5ee9e2f /app/client
parent91a29f1c46270c12664b2fd7561c2e0bcd651476 (diff)
not so wide
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 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({