Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
28ba6987
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
28ba6987
编写于
11月 26, 2019
作者:
R
Rob Lourens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix subpixel AA for settings TOC list
Fix #85106
上级
85d3ccfb
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
14 deletion
+6
-14
src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css
...nch/contrib/preferences/browser/media/settingsEditor2.css
+1
-11
src/vs/workbench/contrib/preferences/browser/settingsTree.ts
src/vs/workbench/contrib/preferences/browser/settingsTree.ts
+2
-0
src/vs/workbench/contrib/preferences/browser/tocTree.ts
src/vs/workbench/contrib/preferences/browser/tocTree.ts
+3
-3
未找到文件。
src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css
浏览文件 @
28ba6987
...
@@ -216,14 +216,13 @@
...
@@ -216,14 +216,13 @@
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
line-height
:
22px
;
line-height
:
22px
;
opacity
:
0.9
;
flex-shrink
:
1
;
flex-shrink
:
1
;
}
}
.settings-editor
>
.settings-body
.settings-toc-container
.monaco-list-row
.settings-toc-count
{
.settings-editor
>
.settings-body
.settings-toc-container
.monaco-list-row
.settings-toc-count
{
display
:
none
;
display
:
none
;
line-height
:
22px
;
line-height
:
22px
;
opacity
:
0.
7
;
opacity
:
0.
8
;
margin-left
:
3px
;
margin-left
:
3px
;
}
}
...
@@ -231,17 +230,8 @@
...
@@ -231,17 +230,8 @@
display
:
block
;
display
:
block
;
}
}
.settings-editor
>
.settings-body
.settings-toc-container
.monaco-list-row
.monaco-tl-twistie
{
opacity
:
0.9
;
}
.settings-editor
>
.settings-body
.settings-toc-container
.monaco-list-row.selected
.monaco-tl-twistie
{
opacity
:
1
;
}
.settings-editor
>
.settings-body
.settings-toc-container
.monaco-list-row.selected
.settings-toc-entry
{
.settings-editor
>
.settings-body
.settings-toc-container
.monaco-list-row.selected
.settings-toc-entry
{
font-weight
:
bold
;
font-weight
:
bold
;
opacity
:
1
;
}
}
.settings-editor
>
.settings-body
.settings-tree-container
{
.settings-editor
>
.settings-body
.settings-tree-container
{
...
...
src/vs/workbench/contrib/preferences/browser/settingsTree.ts
浏览文件 @
28ba6987
...
@@ -1481,6 +1481,8 @@ export class SettingsTree extends ObjectTree<SettingsTreeElement> {
...
@@ -1481,6 +1481,8 @@ export class SettingsTree extends ObjectTree<SettingsTreeElement> {
// applying an opacity to the link color.
// applying an opacity to the link color.
const
fgWithOpacity
=
new
Color
(
new
RGBA
(
foregroundColor
.
rgba
.
r
,
foregroundColor
.
rgba
.
g
,
foregroundColor
.
rgba
.
b
,
0.9
));
const
fgWithOpacity
=
new
Color
(
new
RGBA
(
foregroundColor
.
rgba
.
r
,
foregroundColor
.
rgba
.
g
,
foregroundColor
.
rgba
.
b
,
0.9
));
collector
.
addRule
(
`.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-description { color:
${
fgWithOpacity
}
; }`
);
collector
.
addRule
(
`.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-description { color:
${
fgWithOpacity
}
; }`
);
collector
.
addRule
(
`.settings-editor > .settings-body .settings-toc-container .monaco-list-row:not(.selected) { color:
${
fgWithOpacity
}
; }`
);
}
}
const
errorColor
=
theme
.
getColor
(
errorForeground
);
const
errorColor
=
theme
.
getColor
(
errorForeground
);
...
...
src/vs/workbench/contrib/preferences/browser/tocTree.ts
浏览文件 @
28ba6987
...
@@ -10,7 +10,7 @@ import { IObjectTreeOptions, ObjectTree } from 'vs/base/browser/ui/tree/objectTr
...
@@ -10,7 +10,7 @@ import { IObjectTreeOptions, ObjectTree } from 'vs/base/browser/ui/tree/objectTr
import
{
ITreeElement
,
ITreeNode
,
ITreeRenderer
}
from
'
vs/base/browser/ui/tree/tree
'
;
import
{
ITreeElement
,
ITreeNode
,
ITreeRenderer
}
from
'
vs/base/browser/ui/tree/tree
'
;
import
{
Iterator
}
from
'
vs/base/common/iterator
'
;
import
{
Iterator
}
from
'
vs/base/common/iterator
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
editorBackground
}
from
'
vs/platform/theme/common/colorRegistry
'
;
import
{
editorBackground
,
transparent
,
foreground
}
from
'
vs/platform/theme/common/colorRegistry
'
;
import
{
attachStyler
}
from
'
vs/platform/theme/common/styler
'
;
import
{
attachStyler
}
from
'
vs/platform/theme/common/styler
'
;
import
{
IThemeService
}
from
'
vs/platform/theme/common/themeService
'
;
import
{
IThemeService
}
from
'
vs/platform/theme/common/themeService
'
;
import
{
SettingsTreeFilter
}
from
'
vs/workbench/contrib/preferences/browser/settingsTree
'
;
import
{
SettingsTreeFilter
}
from
'
vs/workbench/contrib/preferences/browser/settingsTree
'
;
...
@@ -215,8 +215,8 @@ export class TOCTree extends ObjectTree<SettingsTreeGroupElement> {
...
@@ -215,8 +215,8 @@ export class TOCTree extends ObjectTree<SettingsTreeGroupElement> {
listFocusAndSelectionBackground
:
editorBackground
,
listFocusAndSelectionBackground
:
editorBackground
,
listFocusAndSelectionForeground
:
settingsHeaderForeground
,
listFocusAndSelectionForeground
:
settingsHeaderForeground
,
listFocusBackground
:
editorBackground
,
listFocusBackground
:
editorBackground
,
listFocusForeground
:
settingsHeaderForeground
,
listFocusForeground
:
transparent
(
foreground
,
0.9
)
,
listHoverForeground
:
settingsHeaderForeground
,
listHoverForeground
:
transparent
(
foreground
,
0.9
)
,
listHoverBackground
:
editorBackground
,
listHoverBackground
:
editorBackground
,
listInactiveSelectionBackground
:
editorBackground
,
listInactiveSelectionBackground
:
editorBackground
,
listInactiveSelectionForeground
:
settingsHeaderForeground
,
listInactiveSelectionForeground
:
settingsHeaderForeground
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录