Skip to content

Commit

Permalink
fix: segment creation dialog is a side dialog (#1903)
Browse files Browse the repository at this point in the history
Co-authored-by: domsteinbach <[email protected]>
  • Loading branch information
derschnee68 and domsteinbach authored Dec 2, 2024
1 parent f6cf8d6 commit 9c1ebab
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@ export class AudioToolbarComponent implements OnInit {

createAudioSegment() {
this._dialog.open<CreateSegmentDialogComponent, CreateSegmentDialogProps>(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,
});
}
Expand Down

0 comments on commit 9c1ebab

Please sign in to comment.