1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-25 03:58:30 +00:00

Added: Freeze Chat on Hover/Key

This commit is contained in:
SirStendec 2017-11-14 04:12:10 -05:00
parent a081247fdc
commit cace3b317d
3 changed files with 344 additions and 2 deletions

View file

@ -10,6 +10,9 @@ import {has} from 'utilities/object';
import Module from 'utilities/module';
import Scroller from './scroller';
const EVENTS = [
'onJoinedEvent',
'onDisconnectedEvent',
@ -53,6 +56,8 @@ export default class ChatHook extends Module {
this.inject('chat');
this.inject(Scroller);
this.ChatController = this.fine.define(
'chat-controller',
@ -309,7 +314,8 @@ export default class ChatHook extends Module {
}, user.userDisplayName),
user.isIntl && e('span', {
className: 'chat-author__intl-login',
style: { color }
style: { color },
onClick: this.usernameClickHandler
}, ` (${user.userLogin})`),
e('span', null, is_action ? ' ' : ': '),
show ?