From 3e2c1d432d73823e66e19d0081b498ace467b231 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 2 Jul 2020 00:35:06 +0200 Subject: display the form --- .../views/align/components/cursor.component.js | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 animism-align/frontend/views/align/components/cursor.component.js (limited to 'animism-align/frontend/views/align/components/cursor.component.js') diff --git a/animism-align/frontend/views/align/components/cursor.component.js b/animism-align/frontend/views/align/components/cursor.component.js deleted file mode 100644 index a5ad438..0000000 --- a/animism-align/frontend/views/align/components/cursor.component.js +++ /dev/null @@ -1,25 +0,0 @@ -import React, { Component } from 'react' - -import { ZOOM_STEPS } from '../constants' -import { timestamp } from '../../../util' - -const Cursor = ({ timeline }) => { - const { start_ts, zoom, cursor_ts, duration } = timeline - const secondsPerPixel = ZOOM_STEPS[zoom] * 0.1 - const y = (cursor_ts - start_ts) / secondsPerPixel - return ( -
-
-
- {timestamp(cursor_ts, 1)} -
-
- ) -} - -export default Cursor \ No newline at end of file -- cgit v1.2.3-70-g09d2