More renaming

This commit is contained in:
Guillaume Beraudo
2018-11-13 16:57:03 +01:00
parent f3bd08321a
commit e299863117
12 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -1095,7 +1095,7 @@ class InstructionsExecutor {
const pathLength = lineStringLength(pixelCoordinates, begin, end, 2);
const textLength = measure(text);
if (overflow || textLength <= pathLength) {
/** @type {import("./TextReplay.js").default} */
/** @type {import("./TextBuilder.js").default} */
const textReplay = /** @type {?} */ (this);
const textAlign = textReplay.textStates[textKey].textAlign;
const startM = (pathLength - textLength) * TEXT_ALIGN[textAlign];