stupid chrome fix
This commit is contained in:
parent
09a52b8165
commit
c1ee54cae7
1 changed files with 5 additions and 0 deletions
|
|
@ -59,6 +59,11 @@ var VirtualRenderer = function(container, theme) {
|
|||
// Imports CSS once per DOM document ('ace_editor' serves as an identifier).
|
||||
dom.importCssString(editorCss, "ace_editor", container.ownerDocument);
|
||||
dom.addCssClass(this.container, "ace_editor");
|
||||
|
||||
// Chrome has some strange rendering issues if this is not done async
|
||||
setTimeout(function() {
|
||||
dom.addCssClass(this.container, "ace_editor");
|
||||
}.bind(this), 0)
|
||||
|
||||
this.setTheme(theme);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue