From 4e4e854d64a4b15e7434661f011fd06958bd24f1 Mon Sep 17 00:00:00 2001 From: Louis Eveillard Date: Wed, 13 Sep 2023 13:46:38 +0200 Subject: [PATCH] FIX / #760 --- .../src/components/makes/TrimAudioVideo.vue | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/client/src/components/makes/TrimAudioVideo.vue b/client/src/components/makes/TrimAudioVideo.vue index 73f90e392..d7ad3d8e1 100644 --- a/client/src/components/makes/TrimAudioVideo.vue +++ b/client/src/components/makes/TrimAudioVideo.vue @@ -30,9 +30,18 @@ {{ $t("extract_to_export") }} - + + - +
@@ -243,6 +252,17 @@ export default { if (start !== this.selection.start || end !== this.selection.end) this.main_wfpl.getEventEmitter().emit("select", start, end); }, + setStartOrEnd({ new_start, new_end }) { + // let { start, end } = this.selection; + // if (start !== new_start) start = new_start; + // if (end !== new_end) end = new_end; + + const start = new_start || this.selection.start; + const end = new_end || this.selection.end; + + debugger; + this.main_wfpl.getEventEmitter().emit("select", start, end); + }, async updateSelectionMeta() { if ( this.selection.start !== this.make.selection.start ||