Inverted boolean

pull/21833/head
Jorik Schellekens 2020-04-28 15:48:54 +01:00
parent 1b83faaa8d
commit af8430b98a
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export default class Slider extends React.Component<IProps> {
let selection = null;
if (this.props.disabled) {
if (!this.props.disabled) {
const offset = this.offset(this.props.values, this.props.value);
selection = <div className="mx_Slider_selection">
<div className="mx_Slider_selectionDot" style={{left: "calc(-0.55em + " + offset + "%)"}} />