mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 14:50:56 +00:00
Add support for custom moderator badge images.
This commit is contained in:
parent
96b03290c8
commit
41e80fd94c
5 changed files with 85 additions and 15 deletions
|
@ -237,15 +237,13 @@ export default class Chat extends Module {
|
|||
});
|
||||
|
||||
this.context.on('changed:theme.is-dark', () => {
|
||||
for(const key in this.rooms)
|
||||
if ( this.rooms[key] )
|
||||
this.rooms[key].buildBitsCSS();
|
||||
for(const room of this.iterateRooms())
|
||||
room.buildBitsCSS();
|
||||
});
|
||||
|
||||
this.context.on('changed:chat.bits.animated', () => {
|
||||
for(const key in this.rooms)
|
||||
if ( this.rooms[key] )
|
||||
this.rooms[key].buildBitsCSS();
|
||||
for(const room of this.iterateRooms())
|
||||
room.buildBitsCSS();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue