Handle scaled output canvas correctly

This commit is contained in:
Andreas Hocevar
2020-04-29 17:47:05 +02:00
parent 0549951e9e
commit 781a5443cf
6 changed files with 30 additions and 7 deletions

View File

@@ -225,6 +225,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
const declutterReplays = this.getLayer().getDeclutter() ? {} : null;
replayGroup.execute(
context,
1,
transform,
rotation,
snapToPixel,
@@ -255,6 +256,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
);
replayGroup.execute(
context,
1,
transform,
rotation,
snapToPixel,
@@ -279,6 +281,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
);
replayGroup.execute(
context,
1,
transform,
rotation,
snapToPixel,