Skip to content

Commit 5418df4

Browse files
committed
reverting last changes
1 parent 0e4f553 commit 5418df4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/app/modules/eqmac-components/components/flat-slider/flat-slider.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,15 +316,15 @@ export class FlatSliderComponent {
316316

317317
style.borderRadius = '100%'
318318
if (this.orientation === 'horizontal') {
319-
style.left = `${this.utils.logMapValueInverse({
319+
style.left = `${this.mapValue({
320320
value: this.value,
321321
inMin: this.min,
322322
inMax: this.max,
323323
outMin: 0,
324324
outMax: this.width - this.knobRadius * 2
325325
})}px`
326326
} else {
327-
style.bottom = `${this.utils.logMapValueInverse({
327+
style.bottom = `${this.mapValue({
328328
value: this.value,
329329
inMin: this.min,
330330
inMax: this.max,

0 commit comments

Comments
 (0)