Rework backdrop to draw one image with two different level of blur
This commit is contained in:
parent
36ba65b534
commit
8f345dc1ba
8 changed files with 89 additions and 61 deletions
|
@ -65,6 +65,7 @@ import ToastContainer from './ToastContainer';
|
|||
import MyGroups from "./MyGroups";
|
||||
import UserView from "./UserView";
|
||||
import GroupView from "./GroupView";
|
||||
import BackdropPanel from "./BackdropPanel";
|
||||
|
||||
// We need to fetch each pinned message individually (if we don't already have it)
|
||||
// so each pinned message may trigger a request. Limit the number per room for sanity.
|
||||
|
@ -643,13 +644,15 @@ class LoggedInView extends React.Component<IProps, IState> {
|
|||
>
|
||||
<ToastContainer />
|
||||
<div ref={this._resizeContainer} className={bodyClasses}>
|
||||
<BackdropPanel
|
||||
backgroundImage={this.state.backgroundImage}
|
||||
/>
|
||||
{ SettingsStore.getValue("feature_spaces")
|
||||
? <SpacePanel backgroundImage={this.state.backgroundImage} />
|
||||
? <SpacePanel />
|
||||
: null }
|
||||
<LeftPanel
|
||||
isMinimized={this.props.collapseLhs || false}
|
||||
resizeNotifier={this.props.resizeNotifier}
|
||||
backgroundImage={this.state.backgroundImage}
|
||||
/>
|
||||
<ResizeHandle />
|
||||
{ pageElement }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue