mirror of
https://github.com/Microsoft/vscode
synced 2024-07-05 01:08:57 +00:00
Disable ligatures when fontLigatures
is an empty string (#200333)
Disable ligatures when `fontLigatures` is an empty string (#198517)
This commit is contained in:
parent
62a957135b
commit
745cb55422
|
@ -1714,7 +1714,7 @@ export class EditorFontLigatures extends BaseEditorOption<EditorOption.fontLigat
|
||||||
return this.defaultValue;
|
return this.defaultValue;
|
||||||
}
|
}
|
||||||
if (typeof input === 'string') {
|
if (typeof input === 'string') {
|
||||||
if (input === 'false') {
|
if (input === 'false' || input.length === 0) {
|
||||||
return EditorFontLigatures.OFF;
|
return EditorFontLigatures.OFF;
|
||||||
}
|
}
|
||||||
if (input === 'true') {
|
if (input === 'true') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user