mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.28.3
* Fixed: Issue rendering Twitch badges for some users. * Fixed: The FFZ Emote Menu icon not replacing the default emote menu icon.
This commit is contained in:
parent
e63157a412
commit
c8bb667c53
5 changed files with 9 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.28.2",
|
||||
"version": "4.28.3",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
@ -1086,10 +1086,8 @@ export default class Badges extends Module {
|
|||
__cat: getBadgeCategory(sid)
|
||||
};
|
||||
|
||||
fixBadgeData(data);
|
||||
|
||||
this.twitch_badge_count++;
|
||||
bs[data.version] = data;
|
||||
bs[data.version] = fixBadgeData(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1221,6 +1219,10 @@ export function fixBadgeData(badge) {
|
|||
if ( ! badge )
|
||||
return badge;
|
||||
|
||||
// Duplicate the badge object, because
|
||||
// Apollo results are frozen.
|
||||
badge = {...badge};
|
||||
|
||||
// Click Behavior
|
||||
if ( ! badge.clickAction && badge.onClickAction )
|
||||
badge.clickAction = badge.onClickAction;
|
||||
|
|
|
@ -446,9 +446,7 @@ export default class Room {
|
|||
__cat: getBadgeCategory(sid)
|
||||
};
|
||||
|
||||
fixBadgeData(data);
|
||||
|
||||
bs[data.version] = data;
|
||||
bs[data.version] = fixBadgeData(data);
|
||||
this.badge_count++;
|
||||
}
|
||||
|
||||
|
|
|
@ -154,7 +154,6 @@ export default class SettingsManager extends Module {
|
|||
if ( type === 'request-context' ) {
|
||||
this._context_proxies.add(event.source);
|
||||
this._updateContextProxies(event.source);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
button[data-a-target="emote-picker-button"] {
|
||||
div[class^="ScButtonIcon"] {
|
||||
& { //div[class^="ScButtonIcon"] {
|
||||
padding: .2rem .2rem 0 0;
|
||||
|
||||
div > div {
|
||||
& > div > div {
|
||||
overflow: unset !important;
|
||||
|
||||
&:before {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue