1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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