Skip to content

Commit

Permalink
Adjust invocation to match
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-hoc committed Dec 20, 2024
1 parent 9180204 commit 6257705
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ts/components/seekbarlabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ export class SeekBarLabel extends Container<SeekBarLabelConfig> {
};

public setPositionInBounds(seekPositionPx: number, bounds: DOMRect) {
this.getDomElement().css({
'left': seekPositionPx + 'px',
});
this.getDomElement().css('left', seekPositionPx + 'px');

// Check parent container as it has a padding that needs to be considered
const labelBounding = this.container.getDomElement().get(0).parentElement.getBoundingClientRect();
Expand Down

0 comments on commit 6257705

Please sign in to comment.