mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 10:16:57 +00:00
4.32.0
* Added: Support for combined emoji using a workaround that compensates for Twitch chat eating unicode it shouldn't. (See #1147 for more details) * Added: Setting to change how emotes are sorted when using tab completion. Applies to the In-Line Tab Completion add-on as well as the default tab completion. * Added: Setting to disable a browser's "automatic dark theme" features when supported. This primarily applies to Chromium browsers. * Added: Ability to make emoji larger in addition to emotes using the "Larger Emotes" setting. * Fixed: Better handling of community introduction messages. * Fixed: Catch more chat line rendering errors to prevent chat from breaking entirely. * Fixed: Chat on Videos not appearing with the chat background color. * API Changed: Rich Tokens now support `ref` tokens in `header` tokens. * API Changed: Rich Tokens now support `link` tokens with no content, automatically setting their content to their URLs.
This commit is contained in:
parent
feae6bcb89
commit
969ed29668
11 changed files with 360 additions and 81 deletions
|
@ -1431,7 +1431,7 @@ export const AddonEmotes = {
|
|||
if ( ! emotes )
|
||||
return;
|
||||
|
||||
const big = this.context.get('chat.emotes.2x'),
|
||||
const big = this.context.get('chat.emotes.2x') > 0,
|
||||
anim = this.context.get('chat.emotes.animated'),
|
||||
out = [];
|
||||
|
||||
|
@ -1531,6 +1531,7 @@ export const Emoji = {
|
|||
return;
|
||||
|
||||
const splitter = this.emoji.splitter,
|
||||
replace = this.context.get('chat.emoji.replace-joiner') > 0,
|
||||
style = this.context.get('chat.emoji.style');
|
||||
|
||||
if ( style === 0 )
|
||||
|
@ -1547,7 +1548,9 @@ export const Emoji = {
|
|||
continue;
|
||||
}
|
||||
|
||||
const text = token.text.replace(JOINER_REPLACEMENT, "\u200d");
|
||||
const text = replace ?
|
||||
token.text.replace(JOINER_REPLACEMENT, "\u200d") :
|
||||
token.text;
|
||||
|
||||
splitter.lastIndex = 0;
|
||||
let idx = 0, match;
|
||||
|
@ -1610,7 +1613,7 @@ export const TwitchEmotes = {
|
|||
|
||||
const data = msg.ffz_emotes,
|
||||
anim = this.context.get('chat.emotes.animated'),
|
||||
big = this.context.get('chat.emotes.2x'),
|
||||
big = this.context.get('chat.emotes.2x') > 0,
|
||||
use_replacements = this.context.get('chat.fix-bad-emotes'),
|
||||
emotes = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue