mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Merge pull request #182379 from r3m0t/fix-170449
Prevent ligatures between inlay hints and editor contents (Fix #170449)
This commit is contained in:
commit
09f80f4c54
|
@ -342,6 +342,7 @@ export interface CssProperties {
|
|||
fontWeight?: string;
|
||||
fontSize?: string;
|
||||
fontFamily?: string;
|
||||
unicodeBidi?: string;
|
||||
textDecoration?: string;
|
||||
color?: string | ThemeColor;
|
||||
backgroundColor?: string | ThemeColor;
|
||||
|
|
|
@ -495,6 +495,7 @@ export class InlayHintsController implements IEditorContribution {
|
|||
fontSize: `${fontSize}px`,
|
||||
fontFamily: `var(${fontFamilyVar}), ${EDITOR_FONT_DEFAULTS.fontFamily}`,
|
||||
verticalAlign: isUniform ? 'baseline' : 'middle',
|
||||
unicodeBidi: 'isolate'
|
||||
};
|
||||
|
||||
if (isNonEmptyArray(item.hint.textEdits)) {
|
||||
|
|
Loading…
Reference in a new issue