Increase sizes up to known maximums (#207611)

Increase sizes up to known maximums (fixes #164663)
This commit is contained in:
Alexandru Dima
2024-03-13 18:39:23 +01:00
committed by GitHub
parent 6b0a582e59
commit e907f2b999
+3 -2
View File
@@ -339,8 +339,9 @@ export class View extends ViewEventHandler {
this._overflowGuardContainer.setWidth(layoutInfo.width);
this._overflowGuardContainer.setHeight(layoutInfo.height);
this._linesContent.setWidth(1000000);
this._linesContent.setHeight(1000000);
// https://stackoverflow.com/questions/38905916/content-in-google-chrome-larger-than-16777216-px-not-being-rendered
this._linesContent.setWidth(16777216);
this._linesContent.setHeight(16777216);
}
private _getEditorClassName() {