help menu
This commit is contained in:
@ -120,6 +120,7 @@ export default function ZoneEditor() {
|
||||
);
|
||||
|
||||
const removeZone = useCallback((type: 'cut' | 'mute' | 'gain' | 'speed', id: string) => {
|
||||
if (!window.confirm("Delete this zone?")) return;
|
||||
if (type === 'cut') removeCutRange(id);
|
||||
else if (type === 'mute') removeMuteRange(id);
|
||||
else if (type === 'gain') removeGainRange(id);
|
||||
|
||||
Reference in New Issue
Block a user