@angular/material 21.1.0-next.4 → 21.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/slider.mjs
CHANGED
|
@@ -654,7 +654,7 @@ class MatSlider {
|
|
|
654
654
|
_calcTickMarkTransform(index) {
|
|
655
655
|
const offset = index * (this._tickMarkTrackWidth / (this._tickMarks.length - 1));
|
|
656
656
|
const translateX = this._isRtl ? this._cachedWidth - 6 - offset : offset;
|
|
657
|
-
return `translateX(${translateX}px`;
|
|
657
|
+
return `translateX(${translateX}px)`;
|
|
658
658
|
}
|
|
659
659
|
_onTranslateXChange(source) {
|
|
660
660
|
if (!this._hasViewInitialized) {
|