From f8db31fb0eb87c86c38b8f65cb75b93ea96df380 Mon Sep 17 00:00:00 2001 From: laemtl Date: Tue, 22 Nov 2022 05:34:25 +0000 Subject: [PATCH] Round event timing data --- .../src/series/components/EventManager.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/EventManager.tsx b/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/EventManager.tsx index a3f5c0da2a0..b373c7c6c14 100644 --- a/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/EventManager.tsx +++ b/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/EventManager.tsx @@ -78,8 +78,8 @@ const EventManager = ({ }} > {epoch.label}
- {epoch.onset}{epoch.duration > 0 - && ' - ' + (epoch.onset + epoch.duration)} + {epoch.onset.toFixed(3)}{epoch.duration > 0 + && ' - ' + (epoch.onset + epoch.duration).toFixed(3)}