Skip to content

Commit

Permalink
fix(ngx-components): audio viewer does not draw if secondsPerLine and…
Browse files Browse the repository at this point in the history
… audio duration equal 60
  • Loading branch information
julianpoemp committed Nov 7, 2024
1 parent 30445ba commit 066147c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export class AudioViewerService {
}
this.drawnSelection = drawnSelection;
}
this.scrollToAbsY(viewport?.y!);
this.scrollToAbsY(viewport!.y!);
this.bringToFront('#timeStamps');
this.bringToFront('.line-selections');

Expand Down Expand Up @@ -660,6 +660,8 @@ export class AudioViewerService {
this.layers.background.add(line);
this.canvasElements.lastLine = line;
}
} else {
addSingleLineOnly();
}
} else {
addSingleLineOnly();
Expand Down

0 comments on commit 066147c

Please sign in to comment.