1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00
* Fixed: The Audio Compressor incorrectly being disabled due to changes in Twitch's player causing FFZ to incorrectly assume a clip is being played.
* Fixed: Twitch emote cards failing to open when clicking an emote. (Hilariously, this is because we were searching for the component that opens emote cards up to 200 entries up the stack. It is now, as of the time of this update, 201 entries up the stack.)
* API Fixed: When adding a new chat action definition or renderer, invalidate message hover, user context, and room actions as well and not only inline.
This commit is contained in:
SirStendec 2022-12-11 15:48:32 -05:00
parent e7066ce4da
commit 4001d15b18
4 changed files with 16 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "frankerfacez", "name": "frankerfacez",
"author": "Dan Salvato LLC", "author": "Dan Salvato LLC",
"version": "4.38.1", "version": "4.38.2",
"description": "FrankerFaceZ is a Twitch enhancement suite.", "description": "FrankerFaceZ is a Twitch enhancement suite.",
"private": true, "private": true,
"license": "Apache-2.0", "license": "Apache-2.0",

View file

@ -258,8 +258,12 @@ export default class Actions extends Module {
this.actions[key] = data; this.actions[key] = data;
for(const ctx of this.settings.__contexts) for(const ctx of this.settings.__contexts) {
ctx.update('chat.actions.inline'); ctx.update('chat.actions.inline');
ctx.update('chat.actions.hover');
ctx.update('chat.actions.user-context');
ctx.update('chat.actions.room');
}
} }
@ -269,8 +273,13 @@ export default class Actions extends Module {
this.renderers[key] = data; this.renderers[key] = data;
for(const ctx of this.settings.__contexts) for(const ctx of this.settings.__contexts) {
ctx.update('chat.actions.inline'); ctx.update('chat.actions.inline');
ctx.update('chat.actions.inline');
ctx.update('chat.actions.hover');
ctx.update('chat.actions.user-context');
ctx.update('chat.actions.room');
}
} }

View file

@ -513,7 +513,7 @@ export default class Emotes extends Module {
return; return;
const line = fine.searchParent(target, n => n.props && n.props.message), const line = fine.searchParent(target, n => n.props && n.props.message),
opener = fine.searchParent(target, n => n.onShowEmoteCard, 200); opener = fine.searchParent(target, n => n.onShowEmoteCard, 250);
if ( ! line || ! opener ) if ( ! line || ! opener )
return; return;

View file

@ -1610,6 +1610,8 @@ export default class PlayerBase extends Module {
return false; return false;
} }
// TODO: Validation for srcObject (if we need it)
return true; return true;
} }