|
@@ -430,7 +430,7 @@ export class TextBlock extends Control {
|
|
} else {
|
|
} else {
|
|
while (characters.length && lineWidth > width) {
|
|
while (characters.length && lineWidth > width) {
|
|
characters.pop();
|
|
characters.pop();
|
|
- line = `${characters.join()}...`;
|
|
|
|
|
|
+ line = `${characters.join("")}...`;
|
|
lineWidth = context.measureText(line).width;
|
|
lineWidth = context.measureText(line).width;
|
|
}
|
|
}
|
|
}
|
|
}
|