You've already forked matrix-react-sdk
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:
@@ -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 + "%)"}} />
|
||||||
|
|||||||
Reference in New Issue
Block a user