From 6f94897047b8dbefdda735cfbe0dabe92dd5578d Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 30 Oct 2023 14:09:38 +0100 Subject: [PATCH] fix(ui): fix note creation timestamp --- frontend/app/components/Session/WebPlayer.tsx | 2 +- frontend/app/components/Session_/components/NotePopup.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/Session/WebPlayer.tsx b/frontend/app/components/Session/WebPlayer.tsx index 309072267..9af2f63f6 100644 --- a/frontend/app/components/Session/WebPlayer.tsx +++ b/frontend/app/components/Session/WebPlayer.tsx @@ -137,7 +137,7 @@ function WebPlayer(props: any) { tabs={TABS} fullscreen={fullscreen} /> - {/* @ts-ignore */} + {/* @ts-ignore */} {contextValue.player ? ( { if (tooltipActive) return; player.pause(); - setCreateNoteTooltip({ time: store.get().time, isVisible: true }); + setCreateNoteTooltip({ time: Math.round(store.get().time), isVisible: true }); }; React.useEffect(() => {