mirror of https://github.com/vector-im/riot-web
Always unhide widgets on layout change (pinning a widget) (#7299)
parent
f938bfaab9
commit
ed895f5881
|
@ -330,6 +330,10 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
|||
|
||||
private onWidgetLayoutChange = () => {
|
||||
if (!this.state.room) return;
|
||||
dis.dispatch({
|
||||
action: "appsDrawer",
|
||||
show: true,
|
||||
});
|
||||
if (WidgetLayoutStore.instance.hasMaximisedWidget(this.state.room)) {
|
||||
// Show chat in right panel when a widget is maximised
|
||||
dis.dispatch<SetRightPanelPhasePayload>({
|
||||
|
|
Loading…
Reference in New Issue