Поправил баг

This commit is contained in:
Book Pauk
2019-02-24 21:36:06 +07:00
parent d6151d541e
commit 6a1b052d16

View File

@@ -28,7 +28,7 @@ export default class DrawHelper {
let out = `<div style="width: ${this.w}px; height: ${this.h}px;` +
` position: absolute; top: ${this.fontSize*this.textShift}px; color: ${this.textColor}; font: ${font}; ${justify}` +
` line-height: ${this.lineHeight}px; white-space: nowrap;">`;
` line-height: ${this.lineHeight}px; white-space: nowrap; overflow: hidden;">`;
let imageDrawn = new Set();
let len = lines.length;