We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65cb97 commit c6b9871Copy full SHA for c6b9871
packages/vector_graphics/lib/src/render_vector_graphic.dart
@@ -439,7 +439,7 @@ class RenderPictureVectorGraphic extends RenderBox {
439
context.canvas.translate(offset.dx, offset.dy);
440
}
441
if (_opacityValue != 1.0 || colorFilter != null) {
442
- context.canvas.saveLayer(offset & size, colorPaint);
+ context.canvas.saveLayer(Offset.zero & size, colorPaint);
443
444
context.canvas.drawPicture(pictureInfo.picture);
445
context.canvas.restoreToCount(saveCount);
0 commit comments