mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Can not clear font style (for #95932)
This commit is contained in:
parent
752e671aef
commit
a420f837f8
|
@ -801,7 +801,7 @@ function readCustomTokenStyleRules(tokenStylingRuleSection: IExperimentalTokenSt
|
|||
}
|
||||
|
||||
function isTokenColorizationSetting(style: any): style is ITokenColorizationSetting {
|
||||
return style && (style.foreground || style.fontStyle);
|
||||
return style && (types.isString(style.foreground) || types.isString(style.fontStyle));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue