fix text layer

This commit is contained in:
Fabian Jakobs 2010-04-19 18:28:24 +02:00
commit 9f2ecbdb04

View file

@ -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>");
}