File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/vs/workbench/contrib/accessibility/browser Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,15 @@ export class UnfocusedViewDimmingContribution extends Disposable implements IWor
34
34
opacity = clamp ( opacityConfig , 0.2 , 1 ) ;
35
35
}
36
36
37
+ const filterRule = `filter: opacity(${ opacity } );` ;
37
38
const rules = new Set < string > ( ) ;
38
- rules . add ( `.monaco-workbench .terminal.xterm:not(.focus) { filter: opacity(${ opacity } ); }` ) ;
39
- rules . add ( `.monaco-workbench .editor-instance .monaco-editor:not(.focused) { filter: opacity(${ opacity } ); }` ) ;
39
+
40
+ // Terminal tabs
41
+ rules . add ( `.monaco-workbench .pane-body.integrated-terminal:not(:focus-within) .tabs-container { ${ filterRule } }` ) ;
42
+ // Terminals
43
+ rules . add ( `.monaco-workbench .pane-body.integrated-terminal .xterm:not(.focus) { ${ filterRule } }` ) ;
44
+ // Editors
45
+ rules . add ( `.monaco-workbench .editor-instance .monaco-editor:not(.focused) { ${ filterRule } }` ) ;
40
46
41
47
elStyle . textContent = [ ...rules ] . join ( '\n' ) ;
42
48
} ) ) ;
You can’t perform that action at this time.
0 commit comments