Collapsible Room List - Clicking on separator should expand to last set width (#32909)
* Expand panel to last known width * Update test
This commit is contained in:
@@ -75,7 +75,8 @@ export class ResizerViewModel
|
||||
|
||||
public onSeparatorClick = (): void => {
|
||||
if (this.panelHandle?.isCollapsed()) {
|
||||
this.panelHandle.resize(`100%`);
|
||||
const lastSize = SettingsStore.getValue("RoomList.panelSize");
|
||||
this.panelHandle.resize(`${lastSize}%`);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user