From 99385fc7beefb75604574439d477f5bd64c75caf Mon Sep 17 00:00:00 2001 From: Julien Schneider Date: Fri, 22 Nov 2024 13:41:02 +0100 Subject: [PATCH] fix: segment is side dialog --- .../src/lib/audio/audio-toolbar.component.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libs/vre/shared/app-representations/src/lib/audio/audio-toolbar.component.ts b/libs/vre/shared/app-representations/src/lib/audio/audio-toolbar.component.ts index 1e2c99ec3a..0ec6dd7a23 100644 --- a/libs/vre/shared/app-representations/src/lib/audio/audio-toolbar.component.ts +++ b/libs/vre/shared/app-representations/src/lib/audio/audio-toolbar.component.ts @@ -49,11 +49,14 @@ export class AudioToolbarComponent implements OnInit { createAudioSegment() { this._dialog.open(CreateSegmentDialogComponent, { - ...DspDialogConfig.dialogDrawerConfig({ - type: 'AudioSegment', - resource: this.parentResource, - videoDurationSecs: this.mediaPlayer.duration(), - }), + ...DspDialogConfig.dialogDrawerConfig( + { + type: 'AudioSegment', + resource: this.parentResource, + videoDurationSecs: this.mediaPlayer.duration(), + }, + true + ), viewContainerRef: this._viewContainerRef, }); }