mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
This commit is contained in:
parent
4db912c6c1
commit
b229eb5fa2
|
@ -443,7 +443,7 @@ class FastRenderedViewLine implements IRenderedViewLine {
|
|||
}
|
||||
|
||||
public getWidthIsFast(): boolean {
|
||||
return (this.input.lineContent.length < Constants.MaxMonospaceDistance);
|
||||
return (this.input.lineContent.length < Constants.MaxMonospaceDistance) || this._cachedWidth !== -1;
|
||||
}
|
||||
|
||||
public monospaceAssumptionsAreValid(): boolean {
|
||||
|
|
Loading…
Reference in a new issue