mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
lcd rendering - put parts on their own GPU layer
This commit is contained in:
parent
46a5e62853
commit
dccaf037f3
|
@ -7,6 +7,21 @@
|
|||
width: 48px;
|
||||
}
|
||||
|
||||
.monaco-workbench.windows .part.activitybar,
|
||||
.monaco-workbench.linux .part.activitybar,
|
||||
.monaco-workbench.web .part.activitybar {
|
||||
/*
|
||||
* 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 .activitybar > .content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
|
|
@ -12,6 +12,21 @@
|
|||
z-index: initial;
|
||||
}
|
||||
|
||||
.monaco-workbench.windows .part.panel,
|
||||
.monaco-workbench.linux .part.panel,
|
||||
.monaco-workbench.web .part.panel {
|
||||
/*
|
||||
* 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.panel .title {
|
||||
height: 35px;
|
||||
display: flex;
|
||||
|
|
|
@ -13,6 +13,21 @@
|
|||
overflow: visible;
|
||||
}
|
||||
|
||||
.monaco-workbench.windows .part.statusbar,
|
||||
.monaco-workbench.linux .part.statusbar,
|
||||
.monaco-workbench.web .part.statusbar {
|
||||
/*
|
||||
* 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.statusbar.status-border-top::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
|
|
@ -22,7 +22,17 @@
|
|||
.monaco-workbench.windows .part.titlebar,
|
||||
.monaco-workbench.linux .part.titlebar,
|
||||
.monaco-workbench.web .part.titlebar {
|
||||
/* put on own layer due to https://github.com/microsoft/vscode/issues/84806 */
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* Related: https://github.com/microsoft/vscode/issues/84806
|
||||
*/
|
||||
transform: translate3d(0px, 0px, 0px);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue