fix text layer
This commit is contained in:
parent
40299a28e3
commit
9f2ecbdb04
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ ace.TextLayer.prototype.updateLines = function(layerConfig, firstRow, lastRow) {
|
|||
ace.TextLayer.prototype.update = function(config) {
|
||||
var html = [];
|
||||
for ( var i = config.firstRow; i <= config.lastRow; i++) {
|
||||
html.push("<div style='height:" + this.lineHeight + "px;", "width:",
|
||||
html.push("<div class='line' style='height:" + this.lineHeight + "px;", "width:",
|
||||
config.width, "px'>");
|
||||
this.renderLine(html, i), html.push("</div>");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue