|
@@ -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;">`;
|
|
|
+ ` line-height: ${this.lineHeight}px; white-space: nowrap;">`;
|
|
|
|
|
|
let imageDrawn = new Set();
|
|
|
let len = lines.length;
|