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 a2c9337 commit 85c98c6Copy full SHA for 85c98c6
src/renderer/layer/CanvasRenderer.js
@@ -502,7 +502,14 @@ class CanvasRenderer extends Class {
502
//when clipping, layer's southwest needs to be reset for mask's containerPoint conversion
503
this._southWest = map._containerPointToPoint(new Point(0, map.height));
504
context.save();
505
+ if (Browser.retina) {
506
+ context.save();
507
+ context.scale(2, 2);
508
+ }
509
mask._getPainter().paint(null, context);
510
511
+ context.restore();
512
513
context.clip();
514
this._southWest = old;
515
if (this.isRenderComplete()) {
0 commit comments