fixed opacity in intensity light
This commit is contained in:
parent
ab1e911ccd
commit
7ef46e9a1d
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ export default class Light extends Component {
|
||||||
<text style={textStyle} x={100} y={120} textAnchor="middle" dy="0.3em" fontWeight="bold">
|
<text style={textStyle} x={100} y={120} textAnchor="middle" dy="0.3em" fontWeight="bold">
|
||||||
{this.props.device.name}
|
{this.props.device.name}
|
||||||
</text>
|
</text>
|
||||||
<CircularProgress style={{ ...KnobProgress, opacity: this.state.intensity + 0.3 }} />
|
<CircularProgress style={{ ...KnobProgress, opacity: this.state.intensity / 100 + 0.3 }} />
|
||||||
<CircularThumb style={CircularThumbStyle} />
|
<CircularThumb style={CircularThumbStyle} />
|
||||||
<ThumbText color={"#ffd31d"} />
|
<ThumbText color={"#ffd31d"} />
|
||||||
</CircularInput>
|
</CircularInput>
|
||||||
|
|
Loading…
Reference in a new issue