mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 02:16:54 +00:00
4.0.0-rc13.7
* Fixed: Loading errors in the Browse Popular directory due to a renamed query field. * Fixed: Block and Hide Thumbnail buttons not appearing in Game directories. (Fixes #538) * Fixed: Custom chat width applying when portrait mode is active. (Fixes #540) * Fixed: FrankerFaceZ not properly detecting the dark theme when theater mode is enabled and then not using appropriate colors. (Fixes #541) * Fixed: Override badges appearing invisible with certain badge styles. * Maintenance: Update the chat types enum to match current Twitch values.
This commit is contained in:
parent
b4b6f1a1cd
commit
79e3ba23a2
31 changed files with 66 additions and 49 deletions
|
@ -435,12 +435,14 @@ export default class Badges extends Module {
|
|||
}
|
||||
|
||||
if (no_invert) {
|
||||
slotted[slot].full_size = true;
|
||||
|
||||
style.background = 'unset';
|
||||
style.backgroundSize = 'unset';
|
||||
style[CSS_MASK_IMAGE] = 'unset';
|
||||
}
|
||||
|
||||
if ( has_image && urls ) {
|
||||
if ( (has_image || color === 'transparent') && urls ) {
|
||||
const image = `url("${urls[1]}")`;
|
||||
let image_set;
|
||||
if ( urls[2] || urls[4] )
|
||||
|
@ -464,7 +466,7 @@ export default class Badges extends Module {
|
|||
const data = slotted[slot],
|
||||
props = data.props;
|
||||
|
||||
props.className = 'ffz-tooltip ffz-badge';
|
||||
props.className = `ffz-tooltip ffz-badge${data.full_size ? ' ffz-full-size' : ''}`;
|
||||
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