Fixed Slider errors

pull/12/head
mertsincan 2019-05-03 12:14:35 +03:00
parent a8493d07e9
commit 9b3fc56628
1 changed files with 2 additions and 2 deletions

View File

@ -307,13 +307,13 @@ export default {
rangeStartHandleStyle() { rangeStartHandleStyle() {
if (this.horizontal) if (this.horizontal)
return {'left': this.rangeStartPosition + '%'}; return {'left': this.rangeStartPosition + '%'};
else if (this.vertical) else
return {'bottom': this.rangeStartPosition + '%'}; return {'bottom': this.rangeStartPosition + '%'};
}, },
rangeEndHandleStyle() { rangeEndHandleStyle() {
if (this.horizontal) if (this.horizontal)
return {'left': this.rangeEndPosition + '%'}; return {'left': this.rangeEndPosition + '%'};
else if (this.vertical) else
return {'bottom': this.rangeEndPosition + '%'}; return {'bottom': this.rangeEndPosition + '%'};
}, },
} }