Reflect muted state in volume slider

This commit is contained in:
futpib 2018-11-16 21:44:48 +03:00
parent c415c76f92
commit bfc3fe078c

View File

@ -146,7 +146,7 @@ module.exports = class VolumeSlider extends React.Component {
y2: height / 2, y2: height / 2,
}), }),
r.line({ !muted && r.line({
className: 'volume-slider-fill', className: 'volume-slider-fill',
x1: height / 2, x1: height / 2,
x2: x, x2: x,