fix(ui): fix note creation timestamp
This commit is contained in:
parent
f569ed3a54
commit
6f94897047
2 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ function WebPlayer(props: any) {
|
|||
tabs={TABS}
|
||||
fullscreen={fullscreen}
|
||||
/>
|
||||
{/* @ts-ignore */}
|
||||
{/* @ts-ignore */}
|
||||
{contextValue.player ? (
|
||||
<PlayerContent
|
||||
activeTab={activeTab}
|
||||
|
|
|
|||
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue