UsrBG: Revert bg change

This commit is contained in:
thororen1234 2025-12-16 23:05:21 -05:00
parent b02a48f0a2
commit da6999b5cf
No known key found for this signature in database

View file

@ -100,13 +100,15 @@ export default definePlugin({
),
getVoiceBackgroundStyles({ className, participantUserId }: any) {
if (className.includes("tile") && this.userHasBackground(participantUserId)) {
return {
backgroundImage: `url(${this.getImageUrl(participantUserId)})`,
backgroundSize: "cover",
backgroundPosition: "center",
backgroundRepeat: "no-repeat"
};
if (className.includes("tile")) {
if (this.userHasBackground(participantUserId)) {
return {
backgroundImage: `url(${this.getImageUrl(participantUserId)})`,
backgroundSize: "cover",
backgroundPosition: "center",
backgroundRepeat: "no-repeat"
};
}
}
},