mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +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;
|
||||
}
|
||||
if (typeof input === 'string') {
|
||||
if (input === 'false') {
|
||||
if (input === 'false' || input.length === 0) {
|
||||
return EditorFontLigatures.OFF;
|
||||
}
|
||||
if (input === 'true') {
|
||||
|
|
Loading…
Reference in a new issue