You are muted message fix when hiding controls, fixes #267
parent
c76c6d548a
commit
272cef52b4
|
|
@ -116,7 +116,8 @@ const styles = (theme) =>
|
||||||
fontSize : '2vs',
|
fontSize : '2vs',
|
||||||
backgroundColor : 'rgba(255, 0, 0, 0.5)',
|
backgroundColor : 'rgba(255, 0, 0, 0.5)',
|
||||||
margin : '4px',
|
margin : '4px',
|
||||||
padding : '15px',
|
padding : theme.spacing(2),
|
||||||
|
zIndex : 31,
|
||||||
borderRadius : '20px',
|
borderRadius : '20px',
|
||||||
textAlign : 'center',
|
textAlign : 'center',
|
||||||
opacity : 0,
|
opacity : 0,
|
||||||
|
|
@ -298,6 +299,16 @@ const Me = (props) =>
|
||||||
style={spacingStyle}
|
style={spacingStyle}
|
||||||
>
|
>
|
||||||
<div className={classes.viewContainer} style={style}>
|
<div className={classes.viewContainer} style={style}>
|
||||||
|
<div className={classnames(
|
||||||
|
classes.ptt,
|
||||||
|
(micState === 'muted' && me.isSpeaking) ? 'enabled' : null
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<FormattedMessage
|
||||||
|
id='me.mutedPTT'
|
||||||
|
defaultMessage='You are muted, hold down SPACE-BAR to talk'
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
className={classnames(
|
className={classnames(
|
||||||
classes.controls,
|
classes.controls,
|
||||||
|
|
@ -331,17 +342,6 @@ const Me = (props) =>
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className={classnames(
|
|
||||||
classes.ptt,
|
|
||||||
(micState === 'muted' && me.isSpeaking) ? 'enabled' : null
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<FormattedMessage
|
|
||||||
id='me.mutedPTT'
|
|
||||||
defaultMessage='You are muted, hold down SPACE-BAR to talk'
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Tooltip title={micTip} placement='left'>
|
<Tooltip title={micTip} placement='left'>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue