mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Merge pull request #250 from Monadical-SAS/topic-markers-waveform
Topic markers now appear on the waveform of saved transcripts
This commit is contained in:
@@ -138,7 +138,7 @@ export default function Recorder(props: RecorderProps) {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
topicsRef.current = props.topics;
|
topicsRef.current = props.topics;
|
||||||
if (!isRecording) renderMarkers();
|
if (!isRecording) renderMarkers();
|
||||||
}, [props.topics]);
|
}, [props.topics, waveRegions]);
|
||||||
|
|
||||||
const renderMarkers = () => {
|
const renderMarkers = () => {
|
||||||
if (!waveRegions) return;
|
if (!waveRegions) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user