From 27921589aaee359438b13197cabd11fdd59c6a4c Mon Sep 17 00:00:00 2001 From: kchen283 Date: Fri, 17 Jun 2022 08:52:05 -0700 Subject: [PATCH] create apply-all button function --- .../src/components/annotate/labelButtons.js | 14 +++++++++++++- audino/frontend/src/pages/annotatefunctions.js | 17 +++++++++++++++-- audino/wavesurfer.js-master/.DS_Store | Bin 0 -> 8196 bytes audino/wavesurfer.js-master/example/.DS_Store | Bin 0 -> 10244 bytes 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 audino/wavesurfer.js-master/.DS_Store create mode 100644 audino/wavesurfer.js-master/example/.DS_Store diff --git a/audino/frontend/src/components/annotate/labelButtons.js b/audino/frontend/src/components/annotate/labelButtons.js index ce8dfc24..83a770f4 100644 --- a/audino/frontend/src/components/annotate/labelButtons.js +++ b/audino/frontend/src/components/annotate/labelButtons.js @@ -1,6 +1,6 @@ import React , {useState, useEffect} from 'react'; import { Button } from '../button'; -import { handleAllSegmentSave, handleSegmentDelete } from '../../pages/annotatefunctions'; +import { handleAllSegmentApply, handleAllSegmentSave, handleSegmentDelete } from '../../pages/annotatefunctions'; const LabelButton = props => { const { annotate } = props; @@ -50,6 +50,7 @@ const LabelButton = props => { /> ) : null} +
+ +
+
+ +