File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/contrib/accessibility/browser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -567,9 +567,9 @@ export class AccessibleView extends Disposable {
567
567
} ) ;
568
568
this . _updateToolbar ( this . _currentProvider . actions , provider . options . type ) ;
569
569
570
- const hide = ( e : KeyboardEvent | IKeyboardEvent ) : void => {
570
+ const hide = ( e ? : KeyboardEvent | IKeyboardEvent ) : void => {
571
571
provider . onClose ( ) ;
572
- e . stopPropagation ( ) ;
572
+ e ? .stopPropagation ( ) ;
573
573
this . _contextViewService . hideContextView ( ) ;
574
574
this . _updateContextKeys ( provider , false ) ;
575
575
this . _lastProvider = undefined ;
@@ -600,7 +600,7 @@ export class AccessibleView extends Disposable {
600
600
} ) ) ;
601
601
disposableStore . add ( this . _editorWidget . onDidBlurEditorWidget ( ( ) => {
602
602
if ( ! isActiveElement ( this . _toolbar . getElement ( ) ) ) {
603
- this . _contextViewService . hideContextView ( ) ;
603
+ hide ( ) ;
604
604
}
605
605
} ) ) ;
606
606
disposableStore . add ( this . _editorWidget . onDidContentSizeChange ( ( ) => this . _layout ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments