mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.45.1
* Fixed: Performance regression due to WYSIWYG emote preview injection. This may result in the feature working less effectively while a better solution is found.
This commit is contained in:
parent
880e80388a
commit
3d4b4f6225
2 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.45.0",
|
||||
"version": "4.45.1",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
@ -532,8 +532,9 @@ export default class Input extends Module {
|
|||
else
|
||||
return;
|
||||
|
||||
// Make a copy, so that React reacts.
|
||||
this.props.emotes = [...this.props.emotes];
|
||||
// TODO: Somehow update other React state to deal with our
|
||||
// injected changes. Making a shallow copy of the array
|
||||
// runs too frequently.
|
||||
}
|
||||
|
||||
inst.componentDidUpdate = function(props, ...args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue