Commit e49da004 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Баг на android при scroll (замыливается).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54242 954022d7-b5bf-4e40-9824-e11837661b57
parent 50af793a
......@@ -483,10 +483,17 @@ DrawingContext.prototype = {
setCanvas: function (canvas) {
if (null == canvas) {return;}
this.canvas = canvas;
this.ctx = this.canvas.getContext("2d");
if (this.ctx.mozImageSmoothingEnabled) {
this.ctx.mozImageSmoothingEnabled = false;
}
var ctx = this.ctx = this.canvas.getContext("2d");
// Не убирать. Баг на android при scroll!!!
if (ctx.imageSmoothingEnabled)
ctx.imageSmoothingEnabled = false;
if (ctx.mozImageSmoothingEnabled)
ctx.mozImageSmoothingEnabled = false;
if (ctx.oImageSmoothingEnabled)
ctx.oImageSmoothingEnabled = false;
if (ctx.webkitImageSmoothingEnabled)
ctx.webkitImageSmoothingEnabled = false;
},
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment