More renaming
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -10,10 +10,10 @@ import {isEmpty} from '../../obj.js';
|
||||
import ReplayGroup from '../ReplayGroup.js';
|
||||
import ReplayType from '../ReplayType.js';
|
||||
import CanvasInstructionsBuilder from './InstructionsBuilder.js';
|
||||
import CanvasImageReplay from './ImageReplay.js';
|
||||
import CanvasLineStringReplay from './LineStringReplay.js';
|
||||
import CanvasPolygonReplay from './PolygonReplay.js';
|
||||
import CanvasTextReplay from './TextReplay.js';
|
||||
import CanvasImageReplay from './ImageBuilder.js';
|
||||
import CanvasLineStringReplay from './LineStringBuilder.js';
|
||||
import CanvasPolygonReplay from './PolygonBuilder.js';
|
||||
import CanvasTextReplay from './TextBuilder.js';
|
||||
import {ORDER} from '../replay.js';
|
||||
import {create as createTransform, compose as composeTransform} from '../../transform.js';
|
||||
|
||||
Reference in New Issue
Block a user