Skip to content

Commit 96ce334

Browse files
committed
chore: Fix lint issue
1 parent 5bf88b8 commit 96ce334

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

projects/igniteui-angular/slider/src/slider/thumb/thumb-slider.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,12 @@ export class IgxSliderThumbComponent implements OnInit, OnDestroy {
209209
}
210210

211211
let increment = 0;
212-
const rtl = !isLeftToRight(this._elementRef.nativeElement);
212+
const isRTL = !isLeftToRight(this._elementRef.nativeElement);
213213
const stepWithDir = (rtl: boolean) => rtl ? this.step * -1 : this.step;
214214
if (event.key.endsWith('Left')) {
215-
increment = stepWithDir(!rtl);
215+
increment = stepWithDir(!isRTL);
216216
} else if (event.key.endsWith('Right')) {
217-
increment = stepWithDir(rtl);
217+
increment = stepWithDir(isRTL);
218218
} else {
219219
return;
220220
}

0 commit comments

Comments
 (0)