提交 ee3a3406 编写于 作者: B Benjamin Pasero

lcd - put tabs on their own layer to enable proper rendering

上级 e97c0c20
...@@ -48,6 +48,21 @@ ...@@ -48,6 +48,21 @@
overflow: hidden; overflow: hidden;
} }
.monaco-workbench.windows .part.editor > .content .editor-group-container > .title,
.monaco-workbench.linux .part.editor > .content .editor-group-container > .title,
.monaco-workbench.web .part.editor > .content .editor-group-container > .title {
/*
* Explicitly put the part onto its own layer to help Chrome to
* render the content with LCD-anti-aliasing. By partioning the
* workbench into multiple layers, we can ensure that a bad
* behaving part is not making another part fallback to greyscale
* rendering.
*
* macOS: does not render LCD-anti-aliased.
*/
transform: translate3d(0px, 0px, 0px);
}
.monaco-workbench .part.editor > .content .editor-group-container > .title:not(.tabs) { .monaco-workbench .part.editor > .content .editor-group-container > .title:not(.tabs) {
display: flex; /* when tabs are not shown, use flex layout */ display: flex; /* when tabs are not shown, use flex layout */
flex-wrap: nowrap; flex-wrap: nowrap;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册