From e8c4fb3b7d05a9a06749dbdb571b15794b41715c Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 25 Aug 2021 13:10:05 +0800 Subject: [PATCH] Livestream: fix items incorrectly appearing in HyperChat List mode. --- ui/component/livestreamComments/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/livestreamComments/view.jsx b/ui/component/livestreamComments/view.jsx index 5b133d821..a7c418d21 100644 --- a/ui/component/livestreamComments/view.jsx +++ b/ui/component/livestreamComments/view.jsx @@ -238,7 +238,7 @@ export default function LivestreamComments(props: Props) { )} - {pinnedComment && ( + {pinnedComment && viewMode === VIEW_MODE_CHAT && (
)} - {scrollPos < 0 && ( + {scrollPos < 0 && viewMode === VIEW_MODE_CHAT && (