mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
Emit event when a set is un-/hidden
This commit is contained in:
parent
d6b2c283e9
commit
d384263f9f
1 changed files with 2 additions and 0 deletions
|
@ -562,9 +562,11 @@ export default class EmoteMenu extends Module {
|
|||
if ( idx === -1 ) {
|
||||
hidden.push(key);
|
||||
this.setState({hidden: true});
|
||||
t.emit(':change-hidden-set', key, true);
|
||||
} else {
|
||||
hidden.splice(idx, 1);
|
||||
this.setState({hidden: false});
|
||||
t.emit(':change-hidden-set', key, false);
|
||||
}
|
||||
|
||||
storage.set('emote-menu.hidden-sets', hidden);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue