fix(connection-indicator): Hide indicator circle when ghost icon is hidden.
This commit is contained in:
parent
9ab16a0a5c
commit
072c29c0f9
|
@ -415,6 +415,11 @@
|
||||||
&.status-other {
|
&.status-other {
|
||||||
background: $connectionIndicatorBg;
|
background: $connectionIndicatorBg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.status-disabled {
|
||||||
|
background: transparent;
|
||||||
|
border: none
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.local-video-menu-trigger,
|
.local-video-menu-trigger,
|
||||||
|
|
|
@ -180,6 +180,10 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, AbstractSta
|
||||||
const { INACTIVE, INTERRUPTED } = JitsiParticipantConnectionStatus;
|
const { INACTIVE, INTERRUPTED } = JitsiParticipantConnectionStatus;
|
||||||
|
|
||||||
if (_connectionStatus === INACTIVE) {
|
if (_connectionStatus === INACTIVE) {
|
||||||
|
if (this.props._connectionIndicatorInactiveDisabled) {
|
||||||
|
return 'status-disabled';
|
||||||
|
}
|
||||||
|
|
||||||
return 'status-other';
|
return 'status-other';
|
||||||
} else if (_connectionStatus === INTERRUPTED) {
|
} else if (_connectionStatus === INTERRUPTED) {
|
||||||
return 'status-lost';
|
return 'status-lost';
|
||||||
|
|
Loading…
Reference in New Issue