Fix invalid width for blurred sidebar

This commit is contained in:
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

View file

@ -106,9 +106,8 @@ export default class BackdropPanel extends React.PureComponent<IProps, IState> {
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');