File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
11
11
import type { ThemeIcon } from '../../../../base/common/themables.js' ;
12
12
import { IHoverService } from '../../../../platform/hover/browser/hover.js' ;
13
13
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js' ;
14
+ import { ILayoutService } from '../../../../platform/layout/browser/layoutService.js' ;
14
15
import { defaultInputBoxStyles } from '../../../../platform/theme/browser/defaultStyles.js' ;
15
16
import { getIconRegistry , IconContribution } from '../../../../platform/theme/common/iconRegistry.js' ;
16
17
import { WorkbenchIconSelectBox } from '../../../services/userDataProfile/browser/iconSelectBox.js' ;
@@ -39,7 +40,8 @@ export class TerminalIconPicker extends Disposable {
39
40
40
41
constructor (
41
42
@IInstantiationService instantiationService : IInstantiationService ,
42
- @IHoverService private readonly _hoverService : IHoverService
43
+ @IHoverService private readonly _hoverService : IHoverService ,
44
+ @ILayoutService private readonly _layoutService : ILayoutService ,
43
45
) {
44
46
super ( ) ;
45
47
@@ -64,7 +66,7 @@ export class TerminalIconPicker extends Disposable {
64
66
target : {
65
67
targetElements : [ body ] ,
66
68
x : bodyRect . left + ( bodyRect . width - dimension . width ) / 2 ,
67
- y : bodyRect . top
69
+ y : bodyRect . top + this . _layoutService . activeContainerOffset . quickPickTop - 2
68
70
} ,
69
71
position : {
70
72
hoverPosition : HoverPosition . BELOW ,
You can’t perform that action at this time.
0 commit comments