Browse Source

Some more fixes

master
Eduard Kuzmenko 3 years ago
parent
commit
6ad70b3f06
  1. 4
      src/components/superIcon.ts
  2. 1
      src/scss/partials/popups/_groupCall.scss
  3. 2
      src/scss/style.scss

4
src/components/superIcon.ts

@ -77,7 +77,7 @@ export class SuperRLottieIcon<Options extends {
let changedPartState = false, changedColorState = false; let changedPartState = false, changedColorState = false;
if(partState !== undefined) changedPartState = this.setPartState(partState, colorState, partCallback); if(partState !== undefined) changedPartState = this.setPartState(partState, colorState, partCallback);
else if(colorState !== undefined && this.getColor) changedColorState = this.setColorState(colorState); else if(colorState !== undefined) changedColorState = this.setColorState(colorState);
return changedPartState || changedColorState; return changedPartState || changedColorState;
} }
@ -102,7 +102,7 @@ export class SuperRLottieIcon<Options extends {
public setColorState(state: Options['ColorState'], renderIfPaused = true) { public setColorState(state: Options['ColorState'], renderIfPaused = true) {
const {colorState: prevState} = this; const {colorState: prevState} = this;
if(prevState === state) { if(prevState === state || !this.getColor) {
return false; return false;
} }

1
src/scss/partials/popups/_groupCall.scss

@ -100,6 +100,7 @@
} }
&-button { &-button {
opacity: 1;
color: var(--gc-primary-text-color); color: var(--gc-primary-text-color);
background-color: var(--gc-button-unmuted-color); background-color: var(--gc-button-unmuted-color);

2
src/scss/style.scss

@ -349,8 +349,8 @@ $chat-input-inner-padding-handhelds: .25rem;
@import "partials/popups/instanceDeactivated"; @import "partials/popups/instanceDeactivated";
@import "partials/popups/joinChatInvite"; @import "partials/popups/joinChatInvite";
@import "partials/popups/reportMessages"; @import "partials/popups/reportMessages";
@import "partials/popups/groupCall";
@import "partials/popups/call"; @import "partials/popups/call";
@import "partials/popups/groupCall";
@import "partials/popups/sponsored"; @import "partials/popups/sponsored";
@import "partials/popups/mute"; @import "partials/popups/mute";
@import "partials/popups/reactedList"; @import "partials/popups/reactedList";

Loading…
Cancel
Save