From b1c724ad66387b9abd96c91e9f2e42259dae0dfb Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Tue, 17 Aug 2021 19:34:18 +0200 Subject: [PATCH] Fix invalid width for blurred sidebar --- src/components/structures/BackdropPanel.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/structures/BackdropPanel.tsx b/src/components/structures/BackdropPanel.tsx index 47b967edd1..cd116b7773 100644 --- a/src/components/structures/BackdropPanel.tsx +++ b/src/components/structures/BackdropPanel.tsx @@ -106,9 +106,8 @@ export default class BackdropPanel extends React.PureComponent { this.leftLeftPanelRef.current.width = leftLeftPanelWidth; this.leftLeftPanelRef.current.height = height; - this.leftPanelRef.current.width = (window.screen.width * 0.5) - leftLeftPanelWidth; + this.leftPanelRef.current.width = (window.screen.width * 0.5); this.leftPanelRef.current.height = height; - this.leftPanelRef.current.style.transform = `translateX(${leftLeftPanelWidth}px)`; const spacesBlur = this.style.getPropertyValue('--llp-background-blur'); const roomListBlur = this.style.getPropertyValue('--lp-background-blur');