mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 10:06:54 +00:00
4.0.0-rc13.14
* Fixed: Clicking Stream Latency metadata not toggling the visibility of the player's playback statistics. * Fixed: The Turbo landing page being inappropriately darkened. (Twitch forgot to add the "base text color" class to anything so text becomes invisible against the background.) * Fixed: More emote menu fixes. Check that emote data from Twitch doesn't contain null values, because apparently it can. * Fixed: Chat width in portrait mode using Microsoft Edge. * Fixed: `no_invert` not applying to badges correctly. (Closes #547)
This commit is contained in:
parent
49bcfaebed
commit
f2700db821
9 changed files with 39 additions and 5 deletions
|
@ -441,6 +441,7 @@ export default class Badges extends Module {
|
|||
|
||||
if (no_invert) {
|
||||
slotted[slot].full_size = true;
|
||||
slotted[slot].no_invert = true;
|
||||
|
||||
style.background = 'unset';
|
||||
style.backgroundSize = 'unset';
|
||||
|
@ -471,7 +472,7 @@ export default class Badges extends Module {
|
|||
const data = slotted[slot],
|
||||
props = data.props;
|
||||
|
||||
props.className = `ffz-tooltip ffz-badge${data.full_size ? ' ffz-full-size' : ''}`;
|
||||
props.className = `ffz-tooltip ffz-badge${data.full_size ? ' ffz-full-size' : ''}${data.no_invert ? ' ffz-no-invert' : ''}`;
|
||||
props.key = `${props['data-provider']}-${props['data-badge']}`;
|
||||
props['data-tooltip-type'] = 'badge';
|
||||
props['data-badge-data'] = JSON.stringify(data.badges);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue