fix: close history menu when other menu item is clicked
This commit is contained in:
@@ -380,7 +380,7 @@ class EditorViewCtrl extends PureViewCtrl<{}, EditorState> {
|
|||||||
'showOptionsMenu',
|
'showOptionsMenu',
|
||||||
'showEditorMenu',
|
'showEditorMenu',
|
||||||
'showExtensions',
|
'showExtensions',
|
||||||
'showSessionHistory'
|
'showHistory',
|
||||||
];
|
];
|
||||||
const menuState: any = {};
|
const menuState: any = {};
|
||||||
for (const candidate of allMenus) {
|
for (const candidate of allMenus) {
|
||||||
|
|||||||
Reference in New Issue
Block a user