Inverted boolean
This commit is contained in:
parent
1b83faaa8d
commit
af8430b98a
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export default class Slider extends React.Component<IProps> {
|
||||||
|
|
||||||
let selection = null;
|
let selection = null;
|
||||||
|
|
||||||
if (this.props.disabled) {
|
if (!this.props.disabled) {
|
||||||
const offset = this.offset(this.props.values, this.props.value);
|
const offset = this.offset(this.props.values, this.props.value);
|
||||||
selection = <div className="mx_Slider_selection">
|
selection = <div className="mx_Slider_selection">
|
||||||
<div className="mx_Slider_selectionDot" style={{left: "calc(-0.55em + " + offset + "%)"}} />
|
<div className="mx_Slider_selectionDot" style={{left: "calc(-0.55em + " + offset + "%)"}} />
|
||||||
|
|
Loading…
Reference in a new issue