Skip to content

Commit

Permalink
fix: segment is side dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
derschnee68 committed Nov 22, 2024
1 parent 75554ff commit 99385fc
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,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 99385fc

Please sign in to comment.