Revert "Merge pull request #4339 from bartvde/issue-4337"
This reverts commit7f4c6e3634, reversing changes made toc5dac0aa70.
This commit is contained in:
@@ -344,10 +344,8 @@ ol.render.canvas.Replay.prototype.replay_ = function(
|
||||
context.globalAlpha = alpha * opacity;
|
||||
}
|
||||
|
||||
var w = width - originX;
|
||||
var h = height - originY;
|
||||
context.drawImage(image, originX, originY, w, h, x, y,
|
||||
w * pixelRatio, h * pixelRatio);
|
||||
context.drawImage(image, originX, originY, width, height,
|
||||
x, y, width * pixelRatio, height * pixelRatio);
|
||||
|
||||
if (opacity != 1) {
|
||||
context.globalAlpha = alpha;
|
||||
|
||||
Reference in New Issue
Block a user