From 5963a0ab3c2919a90e2f07ee3a8d42c0046775db Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Thu, 8 Jan 2026 20:49:13 -0500 Subject: [PATCH] fix draggable divider still active in fullscreen fixes #486 --- lib/screens/channel/channel.dart | 36 +++++++++++++++++--------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/lib/screens/channel/channel.dart b/lib/screens/channel/channel.dart index 36963035..63f5c94d 100644 --- a/lib/screens/channel/channel.dart +++ b/lib/screens/channel/channel.dart @@ -511,23 +511,25 @@ class _VideoChatState extends State overlayChat, ], ), - Positioned( - top: 0, - bottom: 0, - left: - settingsStore - .landscapeChatLeftSide - ? (totalWidth * chatWidth) - - 12 - : null, - right: - !settingsStore - .landscapeChatLeftSide - ? (totalWidth * chatWidth) - - 12 - : null, - child: draggableDivider, - ), + if (settingsStore + .fullScreenChatOverlay) + Positioned( + top: 0, + bottom: 0, + left: + settingsStore + .landscapeChatLeftSide + ? (totalWidth * chatWidth) - + 12 + : null, + right: + !settingsStore + .landscapeChatLeftSide + ? (totalWidth * chatWidth) - + 12 + : null, + child: draggableDivider, + ), ], ); },