Some more fixes
This commit is contained in:
parent
c4827d50f6
commit
6ad70b3f06
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user