@@ -129,7 +129,7 @@ export class FolderMatchRenderer extends Disposable implements ICompressibleTree
129
129
const disposableElements = new DisposableStore ( ) ;
130
130
disposables . add ( disposableElements ) ;
131
131
132
- const contextKeyService = this . contextKeyService . createOverlay ( [ [ FolderFocusKey . key , true ] ] ) ;
132
+ const contextKeyService = this . contextKeyService . createOverlay ( [ [ FolderFocusKey . key , true ] , [ FileFocusKey . key , false ] , [ MatchFocusKey . key , false ] ] ) ;
133
133
const instantiationService = this . instantiationService . createChild ( new ServiceCollection ( [ IContextKeyService , contextKeyService ] ) ) ;
134
134
const actions = disposables . add ( instantiationService . createInstance ( MenuWorkbenchToolBar , actionBarContainer , MenuId . SearchActionMenu , {
135
135
menuOptions : {
@@ -217,7 +217,7 @@ export class FileMatchRenderer extends Disposable implements ICompressibleTreeRe
217
217
disposables . add ( attachBadgeStyler ( badge , this . themeService ) ) ;
218
218
const actionBarContainer = DOM . append ( fileMatchElement , DOM . $ ( '.actionBarContainer' ) ) ;
219
219
220
- const contextKeyService = this . contextKeyService . createOverlay ( [ [ FileFocusKey . key , true ] ] ) ;
220
+ const contextKeyService = this . contextKeyService . createOverlay ( [ [ FileFocusKey . key , true ] , [ FolderFocusKey . key , false ] , [ MatchFocusKey . key , false ] ] ) ;
221
221
const instantiationService = this . instantiationService . createChild ( new ServiceCollection ( [ IContextKeyService , contextKeyService ] ) ) ;
222
222
const actions = disposables . add ( instantiationService . createInstance ( MenuWorkbenchToolBar , actionBarContainer , MenuId . SearchActionMenu , {
223
223
menuOptions : {
@@ -291,7 +291,7 @@ export class MatchRenderer extends Disposable implements ICompressibleTreeRender
291
291
292
292
const disposables = new DisposableStore ( ) ;
293
293
294
- const contextKeyService = this . contextKeyService . createOverlay ( [ [ MatchFocusKey . key , true ] ] ) ;
294
+ const contextKeyService = this . contextKeyService . createOverlay ( [ [ MatchFocusKey . key , true ] , [ FileFocusKey . key , false ] , [ FolderFocusKey . key , false ] ] ) ;
295
295
const instantiationService = this . instantiationService . createChild ( new ServiceCollection ( [ IContextKeyService , contextKeyService ] ) ) ;
296
296
const actions = disposables . add ( instantiationService . createInstance ( MenuWorkbenchToolBar , actionBarContainer , MenuId . SearchActionMenu , {
297
297
menuOptions : {
0 commit comments