mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
4.23.2
* Changed: Animated Emotes is now set to Enabled by default, to reflect the vanilla Twitch experience. * Fixed: Native animated emotes not appearing with animation. * Fixed: Typo in the tooltip for Playback Statistics metadata. * Maintenance: Update the `@ffz/icu-msgparser` dependency.
This commit is contained in:
parent
2a57ecb8a7
commit
ce38c3c251
10 changed files with 80 additions and 59 deletions
|
@ -1079,30 +1079,12 @@ export default class Chat extends Module {
|
|||
});
|
||||
|
||||
this.settings.add('chat.emotes.animated', {
|
||||
requires: ['context.bttv.gifs'],
|
||||
default: null,
|
||||
process(ctx, val) {
|
||||
if ( val == null ) {
|
||||
const temp = ctx.get('ffzap.betterttv.gif_emoticons_mode');
|
||||
if ( temp == null )
|
||||
val = ctx.get('context.bttv.gifs') ? 1 : 0;
|
||||
else
|
||||
val = temp === 2 ? 1 : 0;
|
||||
}
|
||||
return val;
|
||||
},
|
||||
default: 1,
|
||||
ui: {
|
||||
path: 'Chat > Appearance >> Emotes',
|
||||
sort: -50,
|
||||
title: 'Animated Emotes',
|
||||
|
||||
default(ctx) {
|
||||
const temp = ctx.get('ffzap.betterttv.gif_emoticons_mode');
|
||||
if ( temp == null )
|
||||
return ctx.get('context.bttv.gifs') ? 1 : 0;
|
||||
return temp === 2 ? 1 : 0;
|
||||
},
|
||||
|
||||
getExtraTerms: () => GIF_TERMS,
|
||||
|
||||
description: 'This controls whether or not animated emotes are allowed to play in chat. When this is `Disabled`, emotes will appear as static images. Setting this to `Enable on Hover` may cause performance issues.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue