From 62577052c9e71e3385e290722b0889e73f7d42ad Mon Sep 17 00:00:00 2001 From: felix-hoc Date: Fri, 20 Dec 2024 09:56:22 +0100 Subject: [PATCH] Adjust invocation to match --- src/ts/components/seekbarlabel.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ts/components/seekbarlabel.ts b/src/ts/components/seekbarlabel.ts index 1630e5cf5..b0aea018b 100644 --- a/src/ts/components/seekbarlabel.ts +++ b/src/ts/components/seekbarlabel.ts @@ -137,9 +137,7 @@ export class SeekBarLabel extends Container { }; 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();