1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 18:06:55 +00:00

4.0.0-rc18

* Added: Reason context menus for in-line timeout and ban actions.
* Fixed: Certain FFZ tool-tips using the wrong input handlers.
* Fixed: Do not update CSS whenever bits configuration changes, only when necessary. (Performance fix for the bleed purple campaign.)
* Changed: Mark certain page elements with a flag to avoid crawling them with MutationObservers. (More performance~~)
This commit is contained in:
SirStendec 2019-04-29 18:14:04 -04:00
parent 1649294bde
commit 23816fafc9
16 changed files with 464 additions and 36 deletions

View file

@ -103,6 +103,8 @@ export default class ChatLine extends Module {
const old_render = cls.prototype.render;
cls.prototype.render = function() { try {
this._ffz_no_scan = true;
const msg = t.chat.standardizeMessage(this.props.message),
is_action = msg.is_action,
@ -215,6 +217,8 @@ export default class ChatLine extends Module {
const old_render = cls.prototype.render;
cls.prototype.render = function() {
this._ffz_no_scan = true;
if ( ! this.props.message || ! this.props.message.content )
return old_render.call(this);
@ -276,6 +280,7 @@ export default class ChatLine extends Module {
}
cls.prototype.render = function() { try {
this._ffz_no_scan = true;
const types = t.parent.message_types || {},
deleted_count = this.props.deletedCount,
@ -722,6 +727,8 @@ export default class ChatLine extends Module {
const old_render = cls.prototype.render;
cls.prototype.render = function() { try {
this._ffz_no_scan = true;
if ( ! this.props.installedExtensions )
return null;