summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-12 18:38:42 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-12 18:38:42 +0200
commit4368c66b4efddbda87335c42d82dc562629bd0e9 (patch)
tree1b09a26108966388bc57ea2217a0f7bea588ce7a /animism-align/frontend/app/views/align/components/annotations/annotation.index.js
parent3fbc92d236e243ad23b0bba8aa7399ea2384b1cd (diff)
adding splice function
Diffstat (limited to 'animism-align/frontend/app/views/align/components/annotations/annotation.index.js')
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotation.index.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotation.index.js b/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
index 44b27d7..b42f1ee 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
@@ -32,7 +32,7 @@ class AnnotationIndex extends PureComponent {
let secondsPerPixel = ZOOM_STEPS[zoom] * 0.1 // 0.1 sec / step
let widthTimeDuration = INNER_HEIGHT * secondsPerPixel // secs per pixel
- let timeMin = start_ts - 50.0
+ let timeMin = start_ts - 60.0
let timeMax = Math.min(start_ts + widthTimeDuration, duration)
const items = order.filter(id => {
@@ -121,7 +121,4 @@ const mapStateToProps = state => ({
media: state.media.index.lookup,
})
-const mapDispatchToProps = dispatch => ({
-})
-
-export default connect(mapStateToProps, mapDispatchToProps)(AnnotationIndex)
+export default connect(mapStateToProps)(AnnotationIndex)