Inverted boolean

This commit is contained in:
Jorik Schellekens 2020-04-28 15:48:54 +01:00
parent 1b83faaa8d
commit af8430b98a

View file

@ -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 + "%)"}} />