From 5e23374f74e3b89e4740f2be9147ce49a87a1627 Mon Sep 17 00:00:00 2001 From: Dimitris - Rafail Katsampas Date: Sun, 7 Jul 2024 14:01:25 +0300 Subject: [PATCH] chore: Removed duplicate line --- src/SliderBase.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/SliderBase.ts b/src/SliderBase.ts index 68051258..63236a21 100644 --- a/src/SliderBase.ts +++ b/src/SliderBase.ts @@ -178,7 +178,6 @@ export class SliderBase extends ProgressBar }; slider.eventMode = 'static'; - slider.x = slider.width / 2; slider.on('pointerdown', onPointerDown) .on('pointerup', this.endUpdate, this) .on('pointerupoutside', this.endUpdate, this);