Merge pull request #260 from juliandescottes/fix-chrome-canvas-radeon-bug

Workaround for Chrome 41 issue Canvas + Radeon :
This commit is contained in:
Julian Descottes 2015-03-24 17:01:37 +01:00
commit 81a9e7a678

View file

@ -239,7 +239,7 @@
if (this.canvas.width*this.zoom < this.displayCanvas.width || this.canvas.height*this.zoom < this.displayCanvas.height) {
displayContext.fillStyle = Constants.ZOOMED_OUT_BACKGROUND_COLOR;
displayContext.fillRect(0,0,this.displayCanvas.width, this.displayCanvas.height);
displayContext.fillRect(0,0,this.displayCanvas.width - 1, this.displayCanvas.height - 1);
}
displayContext.translate(