File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/notebook/browser/view/cellParts Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
10
10
import { localize } from 'vs/nls' ;
11
11
import { DropdownWithPrimaryActionViewItem } from 'vs/platform/actions/browser/dropdownWithPrimaryActionViewItem' ;
12
12
import { createAndFillInActionBarActions } from 'vs/platform/actions/browser/menuEntryActionViewItem' ;
13
- import { WorkbenchToolBar } from 'vs/platform/actions/browser/toolbar' ;
13
+ import { HiddenItemStrategy , WorkbenchToolBar } from 'vs/platform/actions/browser/toolbar' ;
14
14
import { IMenu , IMenuService , MenuItemAction } from 'vs/platform/actions/common/actions' ;
15
15
import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey' ;
16
16
import { InputFocusedContext } from 'vs/platform/contextkey/common/contextkeys' ;
@@ -81,6 +81,7 @@ export class RunToolbar extends CellPart {
81
81
const keybindingProvider = ( action : IAction ) => this . keybindingService . lookupKeybinding ( action . id , executionContextKeyService ) ;
82
82
const executionContextKeyService = this . _register ( getCodeCellExecutionContextKeyService ( contextKeyService ) ) ;
83
83
this . toolbar = this . _register ( this . instantiationService . createInstance ( WorkbenchToolBar , container , {
84
+ hiddenItemStrategy : HiddenItemStrategy . Ignore ,
84
85
getKeyBinding : keybindingProvider ,
85
86
actionViewItemProvider : _action => {
86
87
actionViewItemDisposables . clear ( ) ;
You can’t perform that action at this time.
0 commit comments