Declutter in correct order and for all layers
This commit is contained in:
@@ -28,7 +28,7 @@ function createContext() {
|
||||
function executeInstructions(builder, expectedDrawTextImageCalls, expectedBuilderImageCalls) {
|
||||
const transform = createTransform();
|
||||
const context = createContext();
|
||||
const executor = new Executor(0.02, 1, false, null, builder.finish());
|
||||
const executor = new Executor(0.02, 1, false, builder.finish());
|
||||
sinon.spy(executor, 'drawTextImageWithPointPlacement_');
|
||||
const replayImageStub = sinon.stub(executor, 'replayImage_');
|
||||
executor.execute(context, transform);
|
||||
|
||||
@@ -35,7 +35,7 @@ describe('ol.render.canvas.BuilderGroup', function() {
|
||||
*/
|
||||
function execute(builder, skippedUids, pixelRatio, overlaps) {
|
||||
const executor = new ExecutorGroup([-180, -90, 180, 90], 1,
|
||||
pixelRatio || 1, !!overlaps, null, builder.finish());
|
||||
pixelRatio || 1, !!overlaps, builder.finish());
|
||||
executor.execute(context, transform, 0, skippedUids || {});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user