Merge branch 'RC1-1.0' of https://github.com/havfo/multiparty-meeting into RC1-1.0
commit
2062b40269
|
|
@ -108,13 +108,11 @@ class Me extends React.Component
|
||||||
>
|
>
|
||||||
<div className={classnames('view-container', 'webcam')}>
|
<div className={classnames('view-container', 'webcam')}>
|
||||||
{connected ?
|
{connected ?
|
||||||
<div className={classnames('controls', {
|
<div className={classnames('controls', 'visible')}>
|
||||||
visible : this.state.controlsVisible
|
|
||||||
})}
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
className={classnames('button', 'mic', micState, {
|
className={classnames('button', 'mic', micState, {
|
||||||
disabled : me.audioInProgress
|
disabled : me.audioInProgress,
|
||||||
|
visible : micState == 'off' || this.state.controlsVisible
|
||||||
})}
|
})}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
{
|
{
|
||||||
|
|
@ -124,7 +122,8 @@ class Me extends React.Component
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={classnames('button', 'webcam', webcamState, {
|
className={classnames('button', 'webcam', webcamState, {
|
||||||
disabled : me.webcamInProgress
|
disabled : me.webcamInProgress,
|
||||||
|
visible : webcamState == 'off' || this.state.controlsVisible
|
||||||
})}
|
})}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@ if (process.env.NODE_ENV === 'development')
|
||||||
{
|
{
|
||||||
const reduxLogger = createLogger(
|
const reduxLogger = createLogger(
|
||||||
{
|
{
|
||||||
predicate : (getState, action) => action.type !== 'SET_PRODUCER_VOLUME',
|
// filter VOLUME level actions from log
|
||||||
|
predicate : (getState, action) => ! (action.type == 'SET_PRODUCER_VOLUME'
|
||||||
|
|| action.type == 'SET_CONSUMER_VOLUME'),
|
||||||
duration : true,
|
duration : true,
|
||||||
timestamp : false,
|
timestamp : false,
|
||||||
level : 'log',
|
level : 'log',
|
||||||
|
|
|
||||||
|
|
@ -43,13 +43,17 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-color: rgba(#000, 0.5);
|
background-color: rgba(#000, 0.5);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
opacity: 0;
|
||||||
transition-property: opacity, background-color;
|
transition-property: opacity, background-color;
|
||||||
transition-duration: 0.15s;
|
transition-duration: 0.15s;
|
||||||
|
|
||||||
|
&.visible {
|
||||||
|
opacity: 0.85;
|
||||||
|
}
|
||||||
|
|
||||||
+desktop() {
|
+desktop() {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
opacity: 0.85;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue