1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00
* Fixed: Chat on Videos not rendering correctly (again).
This commit is contained in:
SirStendec 2022-07-27 19:16:56 -04:00
parent c924d643a6
commit 168db52e2b
2 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "frankerfacez", "name": "frankerfacez",
"author": "Dan Salvato LLC", "author": "Dan Salvato LLC",
"version": "4.35.1", "version": "4.35.2",
"description": "FrankerFaceZ is a Twitch enhancement suite.", "description": "FrankerFaceZ is a Twitch enhancement suite.",
"private": true, "private": true,
"license": "Apache-2.0", "license": "Apache-2.0",

View file

@ -53,19 +53,19 @@ export default class VideoChatHook extends Module {
this.VideoChatController = this.fine.define( this.VideoChatController = this.fine.define(
'video-chat-controller', 'video-chat-controller',
n => n.onMessageScrollAreaMount && n.focusedCommentCallback, n => n.onError && n.videoData && n.props?.comments,
['user-video', 'user-clip', 'video'] ['user-video', 'user-clip', 'video']
); );
this.VideoChatMenu = this.fine.define( /*this.VideoChatMenu = this.fine.define(
'video-chat-menu', 'video-chat-menu',
n => n.onToggleMenu && n.getContent && n.props && has(n.props, 'isExpandedLayout'), n => n.onToggleMenu && n.getContent && n.props && has(n.props, 'isExpandedLayout'),
['user-video', 'user-clip', 'video'] ['user-video', 'user-clip', 'video']
); );*/
this.VideoChatLine = this.fine.define( this.VideoChatLine = this.fine.define(
'video-chat-line', 'video-chat-line',
n => n.onTimestampClickHandler && n.shouldFocusMessage, n => n.onTimestampClickHandler && n.props?.messageContext,
['user-video', 'user-clip', 'video'] ['user-video', 'user-clip', 'video']
); );
@ -165,10 +165,10 @@ export default class VideoChatHook extends Module {
} }
render() { render() {
if ( ! t.VideoChatMenu._class ) //if ( ! t.VideoChatMenu._class )
return null; return null;
return (<div class={`tw-flex-shrink-0 video-chat__message-menu${this.state.force ? ' video-chat__message-menu--force-visible' : ''}`}> /*return (<div class={`tw-flex-shrink-0 video-chat__message-menu${this.state.force ? ' video-chat__message-menu--force-visible' : ''}`}>
<t.VideoChatMenu._class <t.VideoChatMenu._class
context={this.props.context} context={this.props.context}
isCurrentUserModerator={this.props.isCurrentUserModerator} isCurrentUserModerator={this.props.isCurrentUserModerator}
@ -179,7 +179,7 @@ export default class VideoChatHook extends Module {
onOpen={this.onOpen} onOpen={this.onOpen}
onReplyClick={this.props.onReplyClick} onReplyClick={this.props.onReplyClick}
/> />
</div>); </div>);*/
} }
} }