fix(ui): fix note creation timestamp

This commit is contained in:
nick-delirium 2023-10-30 14:09:38 +01:00
parent f569ed3a54
commit 6f94897047
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ function WebPlayer(props: any) {
tabs={TABS}
fullscreen={fullscreen}
/>
{/* @ts-ignore */}
{/* @ts-ignore */}
{contextValue.player ? (
<PlayerContent
activeTab={activeTab}

View file

@ -16,7 +16,7 @@ function NotePopup({
const toggleNotePopup = () => {
if (tooltipActive) return;
player.pause();
setCreateNoteTooltip({ time: store.get().time, isVisible: true });
setCreateNoteTooltip({ time: Math.round(store.get().time), isVisible: true });
};
React.useEffect(() => {