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

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

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

2
src/scss/style.scss

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

Loading…
Cancel
Save