Fix invalid width for blurred sidebar

pull/21833/head
Dariusz Niemczyk 2021-08-17 19:34:18 +02:00
parent a7bda2b73e
commit b1c724ad66
No known key found for this signature in database
GPG Key ID: 28DFE7164F497CB6
1 changed files with 1 additions and 2 deletions

View File

@ -106,9 +106,8 @@ export default class BackdropPanel extends React.PureComponent<IProps, IState> {
this.leftLeftPanelRef.current.width = leftLeftPanelWidth; this.leftLeftPanelRef.current.width = leftLeftPanelWidth;
this.leftLeftPanelRef.current.height = height; 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.height = height;
this.leftPanelRef.current.style.transform = `translateX(${leftLeftPanelWidth}px)`;
const spacesBlur = this.style.getPropertyValue('--llp-background-blur'); const spacesBlur = this.style.getPropertyValue('--llp-background-blur');
const roomListBlur = this.style.getPropertyValue('--lp-background-blur'); const roomListBlur = this.style.getPropertyValue('--lp-background-blur');